Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"platformio.platformio-ide"
]
}
{
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"platformio.platformio-ide"
],
"unwantedRecommendations": [
"ms-vscode.cpptools-extension-pack"
]
}
4 changes: 2 additions & 2 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html

[env:nanoatmega328]
[env:nanoatmega328new]
platform = atmelavr
board = nanoatmega328
board = nanoatmega328new
framework = arduino
debug_tool = simavr
lib_deps =
Expand Down
21 changes: 0 additions & 21 deletions tools/control_servo_with_serial.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@


/**
* Blink
*
* Turns on an LED on for one second,
* then off for one second, repeatedly.
*/
#include "Arduino.h"
#include <Servo.h>

Expand All @@ -32,19 +24,6 @@ void setup()

void loop()
{
// // turn the LED on (HIGH is the voltage level)
// digitalWrite(LED_BUILTIN, HIGH);
// //Serial.println("led is high");

// // wait for a second
// delay(1000);

// // turn the LED off by making the voltage LOW
// digitalWrite(LED_BUILTIN, LOW);
// Serial.println("led is low");

// // wait for a second
// delay(1000);

if (handleInp == true) {
digitalWrite(LED_BUILTIN, HIGH);
Expand Down