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.
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).
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.
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).


