-
WiFi
-
WebServer
-
WebSocketsServer
-
Install Espressif Boards
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <FastLED.h> | |
| #define NUM_LEDS 250 | |
| #define DATA_PIN A0 | |
| #define DIRECTION right | |
| CRGB leds[NUM_LEDS]; | |
| void shiftRight(byte reds[], byte greens[], byte blues[]) { | |
| int tempRed = reds[NUM_LEDS - 1]; | |
| int tempGreen = greens[NUM_LEDS - 1]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| console.log("Hello World"); | |
| console.log("Hello World"); | |
| console.log("Hello World"); | |
| console.log("Hello World"); | |
| console.log("Hello World"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let colors = []; | |
| colors.push('red'); | |
| colors.push('green'); | |
| colors.push('blue'); | |
| colors.unshift('yellow'); | |
| console.log(colors, 'colors'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const numbers = [4,5,9,10]; | |
| function reducerSum(acc, next) { | |
| return acc + next; | |
| } | |
| function reducerDouble(acc, next) { | |
| acc.push(next * 2); | |
| return acc; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function App() { | |
| return ( | |
| <> | |
| <h1>Tic Tac Toe</h1> | |
| <div className="board"> | |
| <div className="row"> | |
| <div className="square">X</div> <div className="square">X</div> | |
| <div className="square">X</div> | |
| </div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <WiFi.h> | |
| #include <FastLED.h> | |
| #include <WebServer.h> | |
| #define LED_PIN 5 | |
| #define NUM_LEDS 35 | |
| #define BRIGHTNESS 10 | |
| const char* ssid = "Noisebridge"; | |
| const char* password = "noisebridge"; |
OlderNewer