bitluni / bitluniHomeAutomation

126 stars 57 forks source link

portability #1

Open alberto148 opened 7 years ago

alberto148 commented 7 years ago

portability to different esp boards? only works on the wemos, dependency on wemos pinouts/library will not compile to sparkfun thing for eg. or esp13. please open this up :)

Ws2812B commented 7 years ago

For me it works also on an Node Mcu ESP-12E.

bitluni commented 7 years ago

you could compile as wemos even though it's another esp8266 based mirco. and/or you can add missing defines for the io pins by yourself to adapt. will do it differently in the next project

GordoYYC commented 6 years ago

I just got it working on a little generic ESP-01, compiled fine as a generic ESP-01. (I had to rename/renumber some pin assignments in PinStates.h and the ino) (change D0..D7 to 0,1,2,3) (and change the names too if you want from "D0" to "IO0"). The ESP was often not responding after a couple commands, but adding some more filter cap on the 3v3 fixed that and it now works fine. (Was also getting some odd 'stray \302 error' in the code or something - I fixed that with opening all the .h/.ino on github as a 'raw' then cutting/pasting them into the Arduino IDE panes not just saving the linked file. - There are some hidden unicode characters or something along those lines you need to get rid of).

Yolominaty commented 3 years ago

Filter cap on the 3v3? What does that mean? 😅 I would like to do it as well since I have the same problem