Rebuild for PlatformIO

This commit is contained in:
2023-11-12 23:05:26 +01:00
parent 42493221c1
commit 278c2bb0b2
4 changed files with 32 additions and 6 deletions
+6
View File
@@ -0,0 +1,6 @@
.pio
.pioenvs
.piolibdeps
.vscode/.browse.c_cpp.db*
.vscode/c_cpp_properties.json
.vscode/launch.json
+10
View File
@@ -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"
]
}
+4
View File
@@ -0,0 +1,4 @@
[env:lilypadatmega328]
platform = atmelavr
board = lilypadatmega328
framework = arduino
+12 -6
View File
@@ -1,11 +1,20 @@
/************************************* /*************************************
* Kerstboomshield voor Arduino * Kerstmuts
* Author: Michel Bats * Author: Michel Bats
* Website: www.batssoft.nl * Website: www.batssoft.nl
* Version: 1.0.0 * Version: 1.0.1
* Revision: 20141216 * 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 <Arduino.h>
// Bepalingen // Bepalingen
int ledPin[] = { int ledPin[] = {
5 ,6}; // Uitgangen met PWM-mogelijkheden 5 ,6}; // Uitgangen met PWM-mogelijkheden
@@ -73,6 +82,3 @@ void loop() {
// Pauze inlassen met het aantal ms volgens delayPotValueMap // Pauze inlassen met het aantal ms volgens delayPotValueMap
delay(currentDelay); delay(currentDelay);
} }