diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e426dbd --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +.pio +.pioenvs +.piolibdeps +.vscode/.browse.c_cpp.db* +.vscode/c_cpp_properties.json +.vscode/launch.json diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..080e70d --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,10 @@ +{ + // 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" + ] +} diff --git a/platformio.ini b/platformio.ini new file mode 100644 index 0000000..8692913 --- /dev/null +++ b/platformio.ini @@ -0,0 +1,4 @@ +[env:lilypadatmega328] +platform = atmelavr +board = lilypadatmega328 +framework = arduino diff --git a/Sketch/Sketch.ino b/src/main.cpp similarity index 90% rename from Sketch/Sketch.ino rename to src/main.cpp index 342ea11..2488397 100644 --- a/Sketch/Sketch.ino +++ b/src/main.cpp @@ -1,11 +1,20 @@ /************************************* - * Kerstboomshield voor Arduino + * Kerstmuts * Author: Michel Bats * Website: www.batssoft.nl - * Version: 1.0.0 - * Revision: 20141216 + * Version: 1.0.1 + * Revision: 20231112 + * + * v1.0.1 20231112 + * Conversie naar PlatformIO door toevoeging van extra bibliotheek (Arduino.h) + * Bestandextensie ino naar cpp + * v1.0.0 20141216 + * Initiƫle versie *************************************/ +// Bibliotheken +#include + // Bepalingen int ledPin[] = { 5 ,6}; // Uitgangen met PWM-mogelijkheden @@ -73,6 +82,3 @@ void loop() { // Pauze inlassen met het aantal ms volgens delayPotValueMap delay(currentDelay); } - - -