-
Notifications
You must be signed in to change notification settings - Fork 1
WiFi and NeoPixelBus Update #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Added hostname feature. Changed PixelBus method from 800kbps to DmaWS2812.
Update NeoPixelBus options to allow for the selection of output GPIO pin on ESP01/01-S when using WS2812x LEDs.
Removed unnecessary comments. Clarified remaining comments.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GPIO0 is incorrect. NeoEsp8266DmaWs2812xMethod uses GPIO3.
lit_arduino.ino
Outdated
@@ -14,7 +14,10 @@ const unsigned int port = 9000; | |||
WiFiUDP socket; | |||
char packetBuffer[PACKET_SIZE]; | |||
uint64_t latestTimestamp = 0; | |||
NeoPixelBus<NeoGrbFeature, NeoEsp8266DmaWs2812xMethod> neopixels(NUM_LEDS); | |||
//Uncomment NeoEsp8266DmaWs2812xMethod to use ESP01/01-S GPIO0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should read "//Uncomment NeoEsp8266DmaWs2812xMethod to use ESP01/01-S GPIO3"
"//Uncomment NeoEsp8266DmaWs2812xMethod to use ESP01/01-S GPIO0" corrected to "//Uncomment NeoEsp8266DmaWs2812xMethod to use ESP01/01-S GPIO3 / RX"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
@@ -9,11 +9,16 @@ | |||
|
|||
const char* ssid = "OMITTED"; | |||
const char* password = "OMITTED"; | |||
const char* hostname = "OMITTED"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this be made optional? Maybe by just not calling wifi.hostname if the hostname an empty string (and make "" the default). I'd like to keep it possible to install the same image on multiple devices without duplicate hostname issues.
Update ESP8266WiFi options to include hostname in order to allow for easier identification of hosts within the network.
Update NeoPixelBus options to permit using GPIO0 or GPIO2 on the ESP01/01-S platform.
Comment cleanup and clarification.