Search:

Type: Posts; User: Les

Page 1 of 3 1 2 3

Search: Search took 0.24 seconds.

  1. Replies
    14
    Views
    15

    Re: Ram Variable Bytes 18F86J55

    Forget Mouser, or RS, or Farnell, or any other mainstream suppliers Gamboa. Go directly to the Chinese sellers via ebay and you'll actually get a board with USB socket and the CP2102 or another types...
  2. Re: Buffered HRSin programme - How do I use it?

    Add the directive "Declare" before these directives. It is an old library, and there have been some changes to the compiler for declares for claritie's sake in the many years since the buffered...
  3. Replies
    14
    Views
    15

    Re: Ram Variable Bytes 18F86J55

    Heap will still use the RAM under the USB RAM, because that now becomes the end of RAM as far as the compiler is concerned.

    I did think of this a few years ago, but there was nothing I could do...
  4. Re: A stereo peak-hold/decay VU meter (2x10 or 2x16 LEDs)

    A nice piece of code and an excellent thread.
  5. Replies
    14
    Views
    15

    Re: Ram Variable Bytes 18F86J55

    That's one of the stupid things that Microchip did way back when, and never changed it. They made the USB RAM in a fixed position. On the older devices, this was OK because it was actually at the end...
  6. Replies
    3
    Views
    4

    Re: PIC12F1571 10bit PWM

    Alternatively, you can adjust the PWM SFRs to give a 10-bit resolution for them.

    The PWM peripheral is based upon a timer, so higher frequencies give less resolution to the PWM. Take a look in the...
  7. Re: New PIC18 K83 family with CAN and Core Independent Peripherals

    DMA on standard 8-bit devices such as the 18F series is actually rather pointless.

    DMA is used on the PIC24 devices, and Proton24 supports the memory architecture for it. But the actual use of DMA...
  8. Re: ADC with 18F24K40 - seem to be getting nowhere. Please help.

    Thank you Pete. That means a lot to me. I agree... The raspberry pi is a dreadful piece of hardware, and people may as well simply use a PC because it still needs a screen, keyboard, mouse etc. And...
  9. Replies
    3
    Views
    4

    Re: PIC12F1571 10bit PWM

    If you want to just add the 16-bit scale routine into your program, here it is.

    It will convert one set of values into another set, quite efficiently. For example, the values 0 to 1023 (10-bit)...
  10. Replies
    3
    Views
    4

    Re: PIC12F1571 10bit PWM

    Take a look at the "Scale.inc" libraries within the compiler's "includes" directory.

    You can then scale the 10-bit ADC value into 16-bits and use this for the PWM.

    Take a look at the unsigned...
  11. Re: New PIC18 K83 family with CAN and Core Independent Peripherals

    These will eventually be added to the compiler, but they are full of changes for the sake of changes. And there is absolutely nothing new in them! A salesman and lawyer's dream come true. LOL
  12. Re: ADC with 18F24K40 - seem to be getting nowhere. Please help.

    Glad it worked Pete. The trouble was, Microchip made no announcements that they had significantly, and I do mean "significantly" made changes to the K40 and K42 devices (for very little reasons) , so...
  13. Adin replacement for 18FXXK40 devices

    For some unknown, and very silly reason. They have changed the way most peripherals operate on the newer 18F devices. So I am currently creating new library routines for them for the next update, but...
  14. Thread: Les's WS2812 code

    by Les
    Replies
    25
    Views
    26

    Re: Les's WS2812 code

    Sorry Maxi, but I'm planning on trying to market the dedicated controller to try and make a few pennies. It will support both WS2812B and SK6812 devices, and make it so simple to talk to them that...
  15. Thread: Les's WS2812 code

    by Les
    Replies
    25
    Views
    26

    Re: Les's WS2812 code

    The trouble with using dedicated peripherals on a device, is that you are limited to the devices that can be used, because not all of them have the peripheral. I've always preferred a software...
  16. Thread: Les's WS2812 code

    by Les
    Replies
    25
    Views
    26

    Re: Les's WS2812 code

    The Amicus18 board operates at 64MHz as standard. 16MHz x 4 PLL = 64MHz.

    The bootloader and the Amicus18.inc file etc, all setup the device for 64MHz. Invisible to the user.

    Operating a WS2812...
  17. Thread: Les's WS2812 code

    by Les
    Replies
    25
    Views
    26

    Proton SK6812 RGBW LED library

    Here's the library include file for the SK6812. It hasn't been as extensively tested as the WS code, but it works on real devices.

    Place the code below in an include file named "SK6812.inc"


    ...
  18. Replies
    8
    Views
    9

    Re: UltraEdit adaption.

    PLL_Setup etc, are still macros, but are meta-macros for the preprocessor, but IMO, any macro should be highlighted. Unfortunately, UltraEdit cannot pick up macro highlighting automatically from the...
  19. Thread: Les's WS2812 code

    by Les
    Replies
    25
    Views
    26

    Re: Les's WS2812 code

    If they are SK6812 devices Bob, they use a 32-bit protocol for Red, Green, Blue and White (RGBW), whereas the WS2812 devices use a 24-bit protocol for Red, Green, and Blue (RGB). This would cause all...
  20. Thread: Les's WS2812 code

    by Les
    Replies
    25
    Views
    26

    Re: Les's WS2812 code

    Thanks for the video Dompie.

    I tried my code on actual devices and simulation and it worked without any changes required. The only thing I can think of Bob, is that you have either slightly...
  21. Replies
    4
    Views
    5

    Re: EData and ERead problems in a PIC16F18877

    Some of the enhanced 14-bit core devices have had massive changes done to them for so little reason, other than Microchip must have a new bunch of nerds working for them. :-)

    I'm busy working on...
  22. Les has just uploaded Replacement Eread and EWrite library routines for a PIC16F18877

    Les has just uploaded Replacement Eread and EWrite library routines for a PIC16F18877 device!

    The include file "Eread_EWrite.inc" contains replacement Eread and Ewrite library routines written in...
  23. Re: $99 DLP LightCrafter Display 2000 evaluation module

    Looks really interesting and would make a great article for Proton or Proton24, maybe when the price falls, I'll see if they become available on ebay. I've seen these for quite a few years now, and...
  24. Replies
    10
    Views
    11

    [SOLVED !] LED Bargraph with Peak Hold LED

    This question got me curious, so I've created a simple program, without any code tweaks, to create an LED bar and have a single LED peak mechanism that only lasts for so long. The code could be...
  25. Replies
    10
    Views
    11

    [SOLVED !] Re: LED Bargraph - HOLD PEAK - Help

    Instead of altering the individual bits of a port, you can use "ands" to clear pins, and "ors" to set pins. The code will need to be adjusted a little, but the principle stays the same. i.e. Store...
  26. Re: Tips for Programming Amicus 18 on Windows 10

    The problem with Linux is mainly two-fold.

    1. It's written by and for nerds, so the many variants of it have problems running code. Some will, some won't.
    2. Linux users will not pay for...
  27. Re: Tips for Programming Amicus 18 on Windows 10

    IMO, Windows XP was as close as it gets to the "perfect" operating system. Windows 7 is alright, but they still screwed up with signed drivers and other bits and pieces that actually slow down a...
  28. Replies
    4
    Views
    5

    Re: Replacing the PIC18F25K20 on an Amicus18

    With the Amicus18 board, any 28-pin 8-bit device will work, as long as the programming header is used.

    For 5 Volt devices, adjust the link on the board from 3 Volts to 5 Volts.

    The new 18FXXK40...
  29. Re: Tips for Programming Amicus 18 on Windows 10

    Thank you Norm.

    Nice clear instructions for an operating system that simply should not be around!!! And they said Vista was bad :-O Windows 10 is a disgrace, as was Windows 8.

    I work and think...
  30. Replies
    10
    Views
    11

    [SOLVED !] Re: LED Bargraph - HOLD PEAK - Help

    The line above:

    Case 15 To 174 ' Is it enough for LED6?

    Should be:

    Case 150 To 174 ' Is it enough for LED6?

    For some reason, the zero was cut...
  31. Replies
    10
    Views
    11

    [SOLVED !] Re: LED Bargraph - HOLD PEAK - Help

    Here's a simple program that will display a voltage on 10 LEDs, with a simple peak mechanism.

    The peak LED will reset after a certain period of time, altered by a value within the $define...
  32. Les has just uploaded WS2812B RGB LED controller library!

    Les has just uploaded WS2812B RGB LED controller library!

    Here's a library for interfacing with the WS2812B RGB LED controllers.

    It can control as many controllers as the RAM on the PIC micro...
  33. Replies
    29
    Views
    30

    Re: What is the fuss about arduino

    I thank you all so much, but as John has said. It's not in my nature to take money in advance. That's why I'm not a rich man, as I've mainly created for others and not myself :-(

    What is needed...
  34. Replies
    29
    Views
    30

    Re: What is the fuss about arduino

    Yes. The compiler is mine, however, it brings no money in as it has not been promoted in any way for many years now. I will maintain it, as I love the compiler itself.

    I forgot, I had a small...
  35. Replies
    29
    Views
    30

    Re: What is the fuss about arduino

    The trouble is time John.

    Since I left Crownhill, I get offered no programming jobs from any organisations, so I've had to go back to Television repairs. Which is what I served my time as. This...
Results 1 to 35 of 100
Page 1 of 3 1 2 3