Import from https://github.com/KenwoodFox/Project-Template
This commit is contained in:
31
Firmware/src/main.cpp
Normal file
31
Firmware/src/main.cpp
Normal file
@@ -0,0 +1,31 @@
|
||||
/**
|
||||
* @file main.cpp
|
||||
* @author Joe
|
||||
* @brief Source code for InstrumentVisor
|
||||
*/
|
||||
|
||||
// Libs
|
||||
#include <Arduino.h>
|
||||
|
||||
// Headers
|
||||
#include "boardPins.h"
|
||||
|
||||
void setup()
|
||||
{
|
||||
// Setup serial
|
||||
delay(200);
|
||||
Serial.begin(115200);
|
||||
Serial.println(REVISION);
|
||||
|
||||
// Pins
|
||||
pinMode(STAT_LED, OUTPUT);
|
||||
}
|
||||
|
||||
void loop()
|
||||
{
|
||||
// Flash LED
|
||||
digitalWrite(STAT_LED, HIGH);
|
||||
delay(1000);
|
||||
digitalWrite(STAT_LED, LOW);
|
||||
delay(1000);
|
||||
}
|
||||
Reference in New Issue
Block a user