- Added basic led library - updated readme - implemented fanoverride and lightActive transmissionmaster
parent
0c3d258bd0
commit
d6027e093b
@ -1 +1,34 @@
|
||||
This is my take on a eskate remote
|
||||
This is my take on an *eskate remote*
|
||||
|
||||
it uses:
|
||||
|
||||
* ESPNow on 2 ESP32
|
||||
* Hal sensor based remote
|
||||
* 3D model by SolidGeek
|
||||
|
||||
it features:
|
||||
|
||||
* Basic Skateboard control
|
||||
* FANCY Displays
|
||||
* Encryption (Not yet)
|
||||
* Lights !
|
||||
* Cruise Mode
|
||||
* Experimental SteeringMode (for walking your board like a dog)
|
||||
* Limit Mode
|
||||
* Telemetry: Voltage, Electronics Temperature, Speed (with cool paging)
|
||||
* Basic ESC Fan control (relay based...)
|
||||
|
||||
# TODO:
|
||||
|
||||
### Software:
|
||||
|
||||
implement ws2812
|
||||
add graphics to quick selection
|
||||
implement display on reciever
|
||||
rpm direction and calibration
|
||||
enable ecryption for espnow
|
||||
Improve steeringmode using rpm knowledge
|
||||
|
||||
### Hardware:
|
||||
improve voltage resistors
|
||||
improve fans to be PWM controlled
|
@ -0,0 +1,23 @@
|
||||
#include "FastLED.h"
|
||||
|
||||
#define NUM_STRIPS 2
|
||||
#define NUM_LEDS_PER_STRIP 10
|
||||
CRGB leds[NUM_STRIPS][NUM_LEDS_PER_STRIP];
|
||||
#define PIN_STRIP1 34
|
||||
|
||||
void setupLights() {
|
||||
FastLED.addLeds<NEOPIXEL, PIN_STRIP1>(leds[0], NUM_LEDS_PER_STRIP);
|
||||
}
|
||||
|
||||
void loopLights() {
|
||||
// This outer loop will go over each strip, one at a time
|
||||
for(int x = 0; x < NUM_STRIPS; x++) {
|
||||
// This inner loop will go over each led in the current strip, one at a time
|
||||
for(int i = 0; i < NUM_LEDS_PER_STRIP; i++) {
|
||||
leds[x][i] = CRGB::Red;
|
||||
FastLED.show();
|
||||
leds[x][i] = CRGB::Black;
|
||||
delay(100);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in new issue