Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

More fun with ws2812 this time XC8 and CLC

For some reason it's running at 6 mhz not 64 and the datasheet made my head hurt because nothing in it will work you get errors im having a time finding the 18f25q10 or 18f26q10 h file then I could see the naming used.
I tried MCC it set up for 64 but it didn't run at it

Now I have a pikit5 it works with IPE but soon as I unplug the dang thing it pops into emergency mode so I have to put in boot mode and reinstall firmware every time I use it
 
The DotStar strands from Adafruit are way easier to work from because the timing isn't critical - you have a data and clock pin (4-wire with power ). And you can use much higher clock speeds for large refreshes.
 
Well it would be easy but i can't get a 1000 pages of help like most can
The crystal pins in data sheet for one the pin out don't show any and there new data sheets are awful
Then I tried swordfish and the chip is locked to use intosc so I can't change the configure word easy
Plus this is no day job I work on control wiring for automation PLC VFD high voltage stuff like that.
Oh i forgot i'm 16 years older now my brain half dead lol

I have this working with arduino and 18f252 bit bang but i figure i play with CLC but I think I'll stay with arduino

The 18f25q10 and 18f26q10 maybe not the best chips to play with
 

Latest threads

New Articles From Microcontroller Tips

Back
Top