New pixel controlle...
 
Notifications
Clear all

New pixel controller

121 Posts
24 Users
0 Reactions
53.2 K Views
Posts: 29
(@ceburge)
Eminent Member
Joined: 12 years ago

Yes you are correct. One creates a sketch just as if they were coding for an arduino and the esp8266 plugin does the magic of turning the code into esp firmware. Some the of the basic libraries have been modified already for esp such as the wifi library most of the coding from library acts the same as the wifi shield library.
Only if the fastled library would work with the esp then it would be as simple as using a sketch like one on this forum already. With a little modifications of course.
If I knew what I were doing then this would already have been done.


Reply
Posts: 313
(@ee351)
Reputable Member
Joined: 13 years ago
ceburge wrote:Yes you are correct. One creates a sketch just as if they were coding for an arduino and the esp8266 plugin does the magic of turning the code into esp firmware. Some the of the basic libraries have been modified already for esp such as the wifi library most of the coding from library acts the same as the wifi shield library.
Only if the fastled library would work with the esp then it would be as simple as using a sketch like one on this forum already. With a little modifications of course.
If I knew what I were doing then this would already have been done.

Even if the fastled library hasn't been ported, a bit banged approach should work to drive pixels. At some point, I'd like to get this working with gece pixels and using the arduino plugin seems like a viable option. The nodemcu firmware only allows for smaller scripts (less than 150 lines of code if you're lucky).


Reply
kingofkya
Posts: 2165
(@kingofkya)
Noble Member
Joined: 15 years ago

Ah too bad yeah i have to agree it woudl be a lot of work to make it work in the other ide. OH well. Defiantly need to get the compiler/tool chain working this weekend:) so i can try out your code.


Reply
Posts: 1076
 Zeph
(@zeph)
Noble Member
Joined: 15 years ago

Porting FastLED might be some challenge, as it's so tightly coupled to hardware for precisely timed bit-banging support (for WS2811-like pixels anyway). However they ported it from AVR to the Teensy 3.1, so they might be able to port it to the ESP8266. (Not I tho).


Reply
kingofkya
Posts: 2165
(@kingofkya)
Noble Member
Joined: 15 years ago

Almost done

esPixel
esPixelSch

Reply
Page 5 / 25
Share: