Skip to content

Commit

Permalink
Add arduino code
Browse files Browse the repository at this point in the history
Signed-off-by: 0x4248 <60709927+0x4248@users.noreply.github.com>
  • Loading branch information
0x4248 committed Dec 25, 2024
1 parent e7e020a commit 5f2f970
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
8 changes: 8 additions & 0 deletions arduino/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
ARDUINO FIRMWARE
================

Contained in this folder is sketches I have written for the ardunio platform.
Most of the sketches are witten in "ino" ardunio sketch format. I currently
have an arduino uno R3.

Most of the code provided here is under the GNU General Public License v3.0.
26 changes: 26 additions & 0 deletions arduino/blink/blink.ino
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/* SPDX-License-Identifier: GPL-3.0
* Arduino blink
*
* blink.ino
*
* This simple ardiuno program will blink the built-in LED on and off.
*
* COPYRIGHT NOTICE
* Copyright (C) 2024 0x4248 and contributors
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the license is not changed.
*
* This software is free and open source. Licensed under the GNU general
* public license version 3.0 as published by the Free Software Foundation.
*/

void setup() {
pinMode(LED_BUILTIN, OUTPUT);
}

void loop() {
digitalWrite(LED_BUILTIN, HIGH);
delay(1000);
digitalWrite(LED_BUILTIN, LOW);
delay(1000);
}

0 comments on commit 5f2f970

Please sign in to comment.