18 lines
361 B
Arduino
18 lines
361 B
Arduino
#include <Studuino.h>
|
|
#include <Clock.h> // Keep the complete smoke-test dependency set in clangd's database.
|
|
|
|
Studuino board;
|
|
|
|
void setup() {
|
|
board.InitSensorPort(PORT_A0, PIDLED);
|
|
byte calib[] = { 100, 100 };
|
|
board.SetDCMotorCalibration(calib);
|
|
}
|
|
|
|
void loop() {
|
|
board.LED(PORT_A0, ON);
|
|
board.Timer(1);
|
|
board.LED(PORT_A0, OFF);
|
|
board.Timer(1);
|
|
}
|