So it may not really be worth using them as all you need to do is set RCLK low, send out the data using shiftOut, then set RCLK high. Arduino library code modules are available but they use shiftOut as does the code above. 2 I have the following digital potentiometer: DS1803-100 which, according to the datasheet, can be controlled using a two-wire serial interface. Use the DmaDriven or UartDriven branches for ESP8266. The only extra code you need is to control the latch output clock (RCLK) before and after using shiftOut. NeoPixelBus - Arduino NeoPixel library compatible with ESP8266. Message with a good checksum received, print it. NeoPixel - Adafruit’s NeoPixel library, now with support for the ESP8266 (use version 1.0.2 or higher from Arduino’s library manager). If (vw_get_message(buf, &buflen)) // Non-blockingĭigitalWrite(13, HIGH) // Flash a light to show received good message
0 Comments
|