By pacurarcristian - Fri Mar 26, 2021 12:38 pm
- Fri Mar 26, 2021 12:38 pm
#52829
heloo this code work for bird zero 2 min and scooter off please helpMrSpriggs1 wrote: ↑Fri Dec 06, 2019 10:37 pmWell, I see my mistake Im working with an Adafruit feather M0 not a Nano. You might want to remove the one from Serial1. Here is a correction below. Im not going to make any promises but hopefully it might help. You might have to get a logic analyzer and hook up to the GPS
electricool wrote: ↑Fri Dec 06, 2019 7:34 pmhello and thank you for sharing the result of your work, I wanted to know on which ESC you used this code, I have a ESC100 of the company bird but it does not work onMrSpriggs1 wrote: ↑Fri Dec 06, 2019 5:29 pmSo after a bunch of time painting my new pretty scooter.
I found out you only need these 5 hex numbers to make it light up and go. Now how do you go fast?
Code: Select all#include <Arduino.h> int powerPin = 5; byte messageA[] = {0xA6, 0x12, 0x02, 0x10, 0x14, 0xCF}; byte messageB[] = {0xA6, 0x12, 0x02, 0x11, 0x14, 0x0B}; byte messageC[] = {0xA6, 0x12, 0x02, 0x15, 0x14, 0x30}; void setup() { // initialize Serial: Serial.begin(9600); pinMode(powerPin, OUTPUT); digitalWrite(powerPin, HIGH); } void loop() { delay(500); Serial.write(messageC, sizeof(messageC)); }
thank you and good luck