b-parasite-esp32/code/playground/blinky/blinky/blinky.ino
rbaron 66a0d8e4e3 Serial upload works.
Currently uploading via the Arduino IDE and PlatformIO works. But it's not perfect yet:
1. We're using a custom-compiled bootloader for the e73 board, which is nice;
2. We're still using `board = adafruit_feather_nrf52832` in the `platformio.ini` file. Using our custom board `boards/e73-tbb.json` doesn't work yet. Uploading results in a `*** [upload] IndexError : list index out of range` error. Most likely has to be fixed in https://github.com/platformio/platform-nordicnrf52/blob/develop/builder/main.py.
2021-02-10 09:36:58 +01:00

14 lines
202 B
C++

#include <Arduino.h>
#define kLED1Pin 18
void setup() {
pinMode(LED_RED, OUTPUT);
Serial.begin(9600);
}
void loop() {
Serial.println("Hello, world");
digitalToggle(LED_RED);
delay(1000);
}