Search:

Type: Posts; User: Les

Page 1 of 3 1 2 3

Search: Search took 0.07 seconds.

  1. Replies
    7
    Views
    8

    Re: 18F4580 LCD on PORTD Lower Nibble 4 Bit

    With the current release of the compiler, you can set any pins for the LCD's data lines.

    For example:

    Declare LCD_Data0_Pin PORTA.0 ' Connect PORTA.0 to the LCD’s D0 line
    Declare LCD_Data1_Pin...
  2. Thread: I2C PIC18f47K40

    by Les
    Replies
    2
    Views
    3

    Re: I2C PIC18f47K40

    The HBusin and HBusout commands are not supported on the 18FXXK40 or 18FXXK42 devices yet, because Microchip changed the peripherals on these devices significantly, but said nothing about it. So when...
  3. Replies
    8
    Views
    4,544

    [OFFER] Re: 2 x 24L01+ mini SIL modules

    I haven't got one Teo, which is why I said:



    However, doing a search on youtube for "Mustool G600" Shows them to be very good indeed and no image smudge when things move, once you've skipped...
  4. Replies
    8
    Views
    4,544

    [OFFER] Re: 2 x 24L01+ mini SIL modules

    The hand to eye coordination is something that takes a little practice Bob.

    When I view through the standard microscope at boards, the different hand to eye coordination comes into play, but you...
  5. Thread: Macro questions

    by Les
    Replies
    4
    Views
    5

    Re: Macro questions

    Sorry John. I'd forgotten about that program. It does make things a lot easier.

    That's the problem with the forum, it's too large and things get forgotten. Is there any chance of releasing the...
  6. Replies
    8
    Views
    4,544

    [OFFER] Re: 2 x 24L01+ mini SIL modules

    If you don't already have a microscope for soldering SMD devices George, here's one that looks, truly, excellent for the price. And it looks as though it will do the job. OK, it's not a professional...
  7. Replies
    8
    Views
    4,544

    [OFFER] Re: 2 x 24L01+ mini SIL modules

    If you ever need any SMD soldering done George, please don't hesitate to ask me. You send the device, or the devices, and the board and I'll do the rest. There is nothing too small that I haven't...
  8. Thread: Macro questions

    by Les
    Replies
    4
    Views
    5

    Re: Macro questions

    The macros never really took off, so I didn't write an article on how to use them. Maybe I'll get around to it, as they are quite simple to use, and very efficient.

    The Return_xxxxx directives are...
  9. Re: Has anybody written code for MMA8451Q accelerometer?

    In the compiler's samples folder, there is code for an MMA7260 3 axis accelerometer. It's also on the Wiki.

    The code is in:

    C:\Users\User Name\PDS\Samples\Amicus18_Board\MMA7260_Accelerometer....
  10. Re: Base biased PNP transistors running at > Pic VDD

    Sorry Tim.

    I forgot to take notice of the PNP type of transistors, and you're right, the diode will need to be reversed, so current flow will still occur. I gave up using bipolar transistors a...
  11. Re: Base biased PNP transistors running at > Pic VDD

    If you can, cut the track from the PIC pins to the base of the transistors and place a small schottky diode in between each PIC pin and each base of the transistors, with the Cathode attached to the...
  12. Replies
    8
    Views
    9

    Re: Replace Label with String

    Thanks for spotting that Simon. It was caused by a default not being reset properly within the loop that parses parameters, so it mistook the String as a ByRef as well. :-)

    This has now been...
  13. Les has just uploaded Update patch for Proton24 to version 1.0.4.7!

    Les has just uploaded Update patch for Proton24 to version 1.0.4.7!

    A patch for the Proton24 compiler to bring it up to version 1.0.4.7.
  14. Thread: Java

    by Les
    Replies
    4
    Views
    5

    Re: Java

    But Microchip will have at least 10, if not more, people working on the code generator data for all the devices out now, which are all different to each other, and even the current code generator is...
  15. Thread: Java

    by Les
    Replies
    4
    Views
    5

    Re: Java

    It's not a rant George, it's a truth.

    ALL common languages available for computers these days are dreadful and bloated, on all machine types, from Windows, Apple, and Android, and all mobile...
  16. Replies
    8
    Views
    9

    Re: The address of the CONFIG block

    The newer enhanced 14-bit core devices operate quite different to standard 14-bit core devices, and they can have multiple configs and they start at $8007.

    See the PPI files for the enhanced...
  17. Replies
    8
    Views
    9

    Re: The address of the CONFIG block

    For standard 14-bit core devices, the config address is always $2007. For standard 14-bit core devices that have 2 config locations, it is $2007 and $2008.

    The compiler does not need the config...
  18. Replies
    8
    Views
    9

    Re: The address of the CONFIG block

    The datasheet for each device has the config address George.
  19. Replies
    8
    Views
    9

    Re: Replace Label with String

    For something more like what, I think, you require. Below is a procedure that will read an offset from within a flash data table. The table's name is given in the procedure, as well as the character...
  20. Replies
    8
    Views
    9

    Re: Replace Label with String

    A String is held in RAM, however, Cread , Cread8, Cread16, and Cread32 are for reading from Flash (code) memory, which is were a font table will sit using either Cdata or, better still, Dim as Code....
  21. Replies
    19
    Views
    20

    Re: Numeric conversion trouble

    If it is just the byte order that requires converting, George's code is extremely efficient, and a good choice.

    You can also use the Swap command to reverse the byte orders and make a meta-macro...
  22. Replies
    19
    Views
    20

    Re: Numeric conversion trouble

    Without seeing a few actual strings that are sent from the transmitter, there is little help to offer, because parsing a string depends on the exact format of the string received. i.e. Is it comma...
  23. Thread: Using Dim as Code

    by Les
    Replies
    9
    Views
    10

    Re: Using Dim as Code

    On an 18F device, the Dim As Code will automatically place the data in flash memory below the program. i.e. Low flash memory. This is because, if it goes at the top of flash and the device has more...
  24. Replies
    24
    Views
    25

    Proton MCP23017 port expander library

    Here's a simpler Library that I've just knocked up for the MCP23017 David, and it has been tested. It can use either the software I2C commands (Busin\Busout) or the peripheral I2C commands...
  25. Thread: Using Dim as Code

    by Les
    Replies
    9
    Views
    10

    Re: Using Dim as Code

    Yes George. LOL ;-)

    It should of actually been "and it operates the same in both compilers." :-)
  26. Thread: Using Dim as Code

    by Les
    Replies
    9
    Views
    10

    Re: Using Dim as Code

    Use the Cread, Cread8, Cread16, and Cread32 commands, as you would for Cdata

    Dim as Code is the same as Cdata, but the compiler manages where it goes within the device's flash memory, so it is...
  27. Replies
    5
    Views
    6

    Re: Serial Out Corrupter Chars

    What device, what compiler version?

    Have you tried it on a PORT other than PORTA? The older compiler versions require PORTA to be turned to digital via the program, but the newer compiler versions...
  28. Replies
    7
    Views
    8

    Re: Continuation character for variables

    The problem with trying to parse spaces is that the parser would not know what is supposed to be part of a variable name of value etc, and what are typos at the end of a line or a missing comma...
  29. Replies
    7
    Views
    8

    Re: Remapping port pins and 16 bit port

    Thanks Joseph.

    Here's a really nice board for the Amicus Bob for charlieplexing, and it is not the standard LOL shield, because it is a whole less expensive and uses different pins etc for the...
  30. Replies
    16
    Views
    17

    Re: Support for Les... a change of heart?

    Thank you Stephen.

    That is what the Amicus board was all about. i.e. An arduino platform but using a PICmicro.

    I'm still busy re-designing the Amicus platform for both 8-bit devices and for...
  31. Replies
    7
    Views
    8

    Re: Remapping port pins and 16 bit port

    As long as the code gives you ideas Bob, that's the main thing. Using the library to create your own projects is fun, and by all means, add to the library, or change the way it works etc... Because I...
  32. Re: AMG88 8x8 Infrared Array Sensor Grid-EYE Interface

    I've placed the circuit for the above program here:

    AMG88 8x8 Infrared Array Sensor Grid-EYE Interface

    Here's a low resolution version of the circuit, but it shows the layout. The PDF version...
  33. Les has just uploaded AMG88 8x8 Infrared Array Sensor Grid-EYE Interface Circuit!

    Les has just uploaded AMG88 8x8 Infrared Array Sensor Grid-EYE Interface Circuit!

    Here is the circuit for the forum thread about an AMG88 8x8 Infrared Array Sensor Grid-EYE Interface.
  34. Re: PicKit2 dat file with working entry for 18F24K50

    That looks like a really interesting Programmer. Thanks for pointing it out. I think I'll build one so I can program the AVRs when testing ProtonAVR.

    Personally, I think the PICkit programmers are...
  35. Replies
    7
    Views
    8

    LOL Shield interfacing on an Amicus18 board

    You're very welcome Bob

    Did you see the Wiki article I wrote for the LOL shield? It's a neat board, but it does have problems with illumination sometimes, because Charlieplexing is a method of...
Results 1 to 35 of 100
Page 1 of 3 1 2 3