Search:

Type: Posts; User: Les

Page 1 of 3 1 2 3

Search: Search took 0.05 seconds.

  1. Replies
    3
    Views
    4

    Happy Birthday AlbertoFS

    Many happy returns Alberto.

    I hope you had a really good day.
  2. Replies
    2
    Views
    3

    Re: support for the 16F18455 and the 16F18456

    Yes, but they take time and concentration to create, because you never know what Microchip have messed around with now within new devices.
  3. Replies
    5
    Views
    6

    Re: Sensitive Reflective Light Sensor

    Apparently, the sensor is so sensitive, it can detect the difference when water is the medium, instead of air.
  4. Re: uConfig reads pdf and creates PCB schematic

    The trouble with that, is that now most of the datasheets do not have a full description of the pins on the circuit component diagram, but have a list of them later in the datasheet.

    Sorry, but...
  5. Replies
    5
    Views
    6

    Sensitive Reflective Light Sensor

    This might interest Tim.

    Ebay Reflective Light Sensor

    And an article here:

    Reflective Light Sensor Article

    They look interesting, but are rather expensive at 5 per sensor, so that's me...
  6. Replies
    1
    Views
    2

    Re: Good to see Microchip is doing well

    But, "too many eggs in the same basket" has been the demise of quite a few companies in the past. It also, dramatically, reduces the quality of the products, because money comes first and quality...
  7. Replies
    10
    Views
    11

    Re: HBUSIN stops program?

    Also remember, there is no real benefit in using the Hbus commands, and I truly wish I had not placed them into the compiler, because the of the mess Microchip have made of their peripherals over the...
  8. Thread: 1 Mhz generator

    by Les
    Replies
    4
    Views
    5

    1MHz Square Wave generator using the PWM peripheral

    Here's a setup that will generate a 1MHz square wave output from the CCP1 peripheral, and operate in the background, using a 64MHz fOSC:



    '
    ' Setup the CCP1 peripheral to give a 1MHz 50% duty...
  9. Replies
    9
    Views
    10

    Re: SPI to MX25L4006E Flash PROM

    Excellent info George, thanks.

    I'll take a look and make some changes. Now.... Every penny counts.
  10. Replies
    10
    Views
    11

    Re: New dual core dsPIC33CH PIC

    See page 439 of the datasheet:


    The instruction cycle is a division of 2.

    Also, page 1 of the datasheet:
  11. Replies
    2
    Views
    3

    Re: Assembler errors on V3.6.1.7

    Sorry Frizie.

    Again, it's Microchip not making their mind up and changing directive names on some devices, even in their XML device files. :-(

    Open up the device's PPI file and find the block:...
  12. Replies
    1
    Views
    2

    Re: Fusion v7 Demo board LCD test

    I don't have a Mikro board, but from memory, their boards are so multiplexed, most people have had problems with simple processes over the years with them.

    Check the circuit of the board and make...
  13. Replies
    18
    Views
    19

    Re: Inexplicable fault. Any tips?

    Totally agree with See_Mos.

    Use a few high and low commands to drive the pins with logic levels, and see if the motor turns clockwise, anticlockwise and stops. Also, check the frequency of the PWM...
  14. Re: Compiler give error if more than 50 times is used directive "Include"

    Really Charlie!!!!

    How on earth can, or why, would they do that? A Byte's real name is an Octet. i.e. 8 Tetras, which are bits. Signed bytes are 2's complimented 8-bits, and always have been, and...
  15. Re: Compiler give error if more than 50 times is used directive "Include"

    The maximum I can do, without having to re-write a lot of the compiler, is a maximum of 99 include files. The compiler's loader parser and compile parser looks for only 2 digits in the include file's...
  16. Thread: EEPROM write time

    by Les
    Replies
    8
    Views
    9

    Re: EEPROM write time

    External eeprom is very different to the internal eeprom.

    The Ewrite and Eread commands are purely for the internal eeprom. External eeprom has either an SPI or I2C interface and work from the I2C...
  17. Replies
    12
    Views
    13

    Re: Electromagnetic display

    Interesting displays, but crickey! what a price for a single display!

    A white LED display will give the same results, but for a fraction of the price, and can be used at a usable Voltage. LOL 19...
  18. Thread: PORT INDEX help-me

    by Les
    Replies
    13
    Views
    14

    Re: PORT INDEX help-me

    You can pass a variable holding a Port's bit to a subroutine, so the subroutine can manipulate more than a single Port.Bit.

    Manipulating the Port's bit is slower using the variable, because a...
  19. Thread: EEPROM write time

    by Les
    Replies
    8
    Views
    9

    Re: EEPROM write time

    The compiler's library routine does the waiting for you.

    In the library's __eewrite_ routine, it performs a loop to wait for the WR bit to clear:

    btfsc EECON1 ,PP_WR
    bra $ - 2
  20. Re: Compiler give error if more than 50 times is used directive "Include"

    OK. I'll see what I can do, but, IMO, 50 include files is far too many. LOL
  21. Thread: PORT INDEX help-me

    by Les
    Replies
    13
    Views
    14

    Re: PORT INDEX help-me

    Take a look in each device's .def file, and you'll find:



    '-----------------------------------------------------------------------------------
    ' Pin Numbers for PORTA
    '
    $define Pin_A0 0...
  22. Les has just uploaded Proton 18F optimiser application update.!

    Les has just uploaded Proton 18F optimiser application update.!

    An update to the Proton 18F optimiser.

    AlbertFS found an anomaly where a STATUS.1 SFR bit has a comma missing with 18F devices...
  23. Thread: New directives

    by Les
    Replies
    2
    Views
    3

    Re: New directives

    Not really George, but $SendError is part of the main compiler, while $error is part of the preprocessor.

    I added them to the compiler to make them more compatible with each other, and to...
  24. Thread: PORT INDEX help-me

    by Les
    Replies
    13
    Views
    14

    Re: PORT INDEX help-me

    See SetPin and ClearPin in the manual:



    Device = 16F877
    Declare Xtal = 20

    Dim MyPortPin As Byte

    Low PORTA
  25. Re: Address Error Interrupt - seeking tips on how to track the source

    Hello Ian.

    Try increasing the stack size to approx 200 or more, depending on the program. PIC24 devices use the stack for storage, and the compiler's interrupt mechanism also uses the stack to...
  26. Re: Error: cannot create a Sub or Procedure within a Sub

    Sorry for the delay in replying Bas

    That's one of the problems with the PIC24 devices. One of their Asm mnemonics is also called Sub. Actually, it is Sub.b or Sub.w, but allows the standard Sub...
  27. Re: You HAVE to fix the downloads for this product !!!

    Downloads from now on will be the full compiler install.
  28. Thread: Compiler problems

    by Les
    Replies
    16
    Views
    17

    Re: Compiler problems

    I've just received a replacement HD for my machine from a friend, so I'm going to place Windows 10 on it, so I can make sure every aspect of the compiler works OK. I test it on my Laptop that has...
  29. Les has just uploaded Proton Compilers Update 3.6.2.1 - 1.0.5.2!

    Les has just uploaded Proton Compilers Update 3.6.2.1 - 1.0.5.2!

    Added 3 directives to the Proton compiler to produce error, hints, or warning messages to the user. These are:

    [FONT=courier...
  30. Replies
    9
    Views
    5,237

    Re: Bit reversal LSB => MSB, MSB => LSB

    To slow down the SPI interface drastically, use DelayUs X inbetween the clock high, where the shift is, and one after it to try to keep its aspect the same.

    For a slightly slower SPI, use a...
  31. Replies
    9
    Views
    5,237

    Re: Bit reversal LSB => MSB, MSB => LSB

    I'm glad you found it useful.

    When it comes to an SPI master, I rarely use the MSSP peripheral because it has quite a few problems, and is limited. For example, on some of the 18F devices, the...
  32. Replies
    10
    Views
    11

    Re: New dual core dsPIC33CH PIC

    With PIC24 and dsPIC33 devices, the instruction cycle is 2:1, whereas 8-bit devices have a 4:1 ration.

    So whatever oscillator speed a 16-bit device is capable of running at, divide that by 2 for...
  33. Replies
    16
    Views
    17

    Re: Driving SK9822 or APA102 RGB LED's

    My mistake. :-(

    I made the very foolish mistake of reading, and believing, an internet page that stated something like 19KHz. Yet even after actually reading the APA102's datasheet it does not...
  34. [SOLVED !] Re: Latest compiler updates (2018) - will upgrade any version?

    The installer updates all the standard files required by the compiler. But not all the files completely.

    It will update any compiler that has been around for the past 5 or 6 years.
  35. Re: If your're thinking of buying a PicKit3/4 for 18F27K42, don't.

    A USB device programmer was in the pipeline many, many years ago, but got pushed to one side. :-( It used a HID interface, so no drivers were required, and was easy to use. Then a few years later,...
Results 1 to 35 of 100
Page 1 of 3 1 2 3