jspiva / LedPixelController

ESP8266 unicast E1.31 to WS2811/WS2812 WiFi controller, output up to 1360 pixels (8 ports/universes, 170 pixels per port, 4080 channels)
GNU General Public License v3.0
18 stars 7 forks source link

LedPixelController:61:42: error: 'D0' was not declared in this scope #3

Closed jnagy197163 closed 3 years ago

jnagy197163 commented 3 years ago

const uint8_t PINS[CHANNEL_COUNT] = {D0, D1, D2, D3, D5, D6, D7, D8};

I know I'm doing something wrong , And unable to figure it out, Could you please explain what I am doing wrong Thank You

jspiva commented 3 years ago

Based on the variant of the esp8266 board you have selected there may or may not be individual ports defined. You should check the pinout of the model you are using to determine the best setup.

Below is a link to the eps8266 variants, each should have a "pins_arduino.h" file that defines the pin constants. You should be able to see what pins your board has available, and adjust the code before you load it into your board. https://github.com/esp8266/Arduino/tree/master/variants

jspiva commented 3 years ago

I'm closing this issue, as it appears from your other comment that you were successful in remedying the issue by adjusting your board selection.

Thanks @jnagy197163 for the response... https://github.com/jspiva/LedPixelController/commit/ddc2788ac9863bce6d611309799797c203f9e796