serial test
This commit is contained in:
@@ -12,3 +12,4 @@
|
|||||||
platform = atmelavr
|
platform = atmelavr
|
||||||
board = megaatmega2560
|
board = megaatmega2560
|
||||||
framework = arduino
|
framework = arduino
|
||||||
|
monitor_speed = 115200
|
||||||
@@ -5,9 +5,12 @@
|
|||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
// put your setup code here, to run once:
|
// put your setup code here, to run once:
|
||||||
int result = myFunction(2, 3);
|
Serial.begin(115200);
|
||||||
}
|
}
|
||||||
|
|
||||||
void loop() {
|
void loop() {
|
||||||
// put your main code here, to run repeatedly:
|
// put your main code here, to run repeatedly:
|
||||||
|
Serial.println("test");
|
||||||
|
int value = analogRead(A1);
|
||||||
|
Serial.println(value);
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user