Skip to content

Commit cc8beb5

Browse files
committed
Added copyright section to all files
Before it was only in Balanduino.ino
1 parent 65bbe50 commit cc8beb5

File tree

8 files changed

+143
-10
lines changed

8 files changed

+143
-10
lines changed

Firmware/Balanduino/Balanduino.h

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/* Copyright (C) 2013 Kristian Lauszus, TKJ Electronics. All rights reserved.
2+
3+
This software may be distributed and modified under the terms of the GNU
4+
General Public License version 2 (GPL2) as published by the Free Software
5+
Foundation and appearing in the file GPL2.TXT included in the packaging of
6+
this file. Please note that GPL2 Section 2[b] requires that all works based
7+
on this software must also be made publicly available under the terms of
8+
the GPL2 ("Copyleft").
9+
10+
Contact information
11+
-------------------
12+
13+
Kristian Lauszus, TKJ Electronics
14+
Web : http://www.tkjelectronics.com
15+
16+
*/
17+
118
#ifndef _balanduino_h_
219
#define _balanduino_h_
320

Firmware/Balanduino/Balanduino.ino

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,27 @@
1-
/*
2-
* The code is released under the GNU General Public License.
3-
* Developed by Kristian Lauszus, TKJ Electronics 2013
4-
* This is the algorithm for the Balanduino balancing robot.
5-
* It can be controlled by either an Android app or a Processing application via Bluetooth.
6-
* The Android app can be found at the following link: https://github.com/TKJElectronics/BalanduinoAndroidApp
7-
* The Processing application can be found here: https://github.com/TKJElectronics/BalanduinoProcessingApp
8-
* It can also be controlled by a PS3, Wii or a Xbox controller
9-
* For details, see: http://balanduino.net/
10-
*/
1+
/* Copyright (C) 2013 Kristian Lauszus, TKJ Electronics. All rights reserved.
2+
3+
This software may be distributed and modified under the terms of the GNU
4+
General Public License version 2 (GPL2) as published by the Free Software
5+
Foundation and appearing in the file GPL2.TXT included in the packaging of
6+
this file. Please note that GPL2 Section 2[b] requires that all works based
7+
on this software must also be made publicly available under the terms of
8+
the GPL2 ("Copyleft").
9+
10+
Contact information
11+
-------------------
12+
13+
Kristian Lauszus, TKJ Electronics
14+
Web : http://www.tkjelectronics.com
15+
16+
17+
This is the algorithm for the Balanduino balancing robot.
18+
It can be controlled by either an Android app or a computer application via Bluetooth.
19+
The Android app can be found at the following link: https://github.com/TKJElectronics/BalanduinoAndroidApp
20+
The Processing application can be found here: https://github.com/TKJElectronics/BalanduinoProcessingApp
21+
A dedicated Windows application can be found here: https://github.com/TKJElectronics/BalanduinoWindowsApp
22+
It can also be controlled by a PS3, PS4, Wii or a Xbox controller.
23+
For details, see: http://balanduino.net/
24+
*/
1125

1226
/* Use this to enable and disable the different options */
1327
#define ENABLE_TOOLS

Firmware/Balanduino/Bluetooth.ino

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/* Copyright (C) 2013 Kristian Lauszus, TKJ Electronics. All rights reserved.
2+
3+
This software may be distributed and modified under the terms of the GNU
4+
General Public License version 2 (GPL2) as published by the Free Software
5+
Foundation and appearing in the file GPL2.TXT included in the packaging of
6+
this file. Please note that GPL2 Section 2[b] requires that all works based
7+
on this software must also be made publicly available under the terms of
8+
the GPL2 ("Copyleft").
9+
10+
Contact information
11+
-------------------
12+
13+
Kristian Lauszus, TKJ Electronics
14+
Web : http://www.tkjelectronics.com
15+
16+
*/
17+
118
#ifdef ENABLE_USB
219

320
uint8_t ps3OldLed, wiiOldLed;

Firmware/Balanduino/EEPROM.ino

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/* Copyright (C) 2013 Kristian Lauszus, TKJ Electronics. All rights reserved.
2+
3+
This software may be distributed and modified under the terms of the GNU
4+
General Public License version 2 (GPL2) as published by the Free Software
5+
Foundation and appearing in the file GPL2.TXT included in the packaging of
6+
this file. Please note that GPL2 Section 2[b] requires that all works based
7+
on this software must also be made publicly available under the terms of
8+
the GPL2 ("Copyleft").
9+
10+
Contact information
11+
-------------------
12+
13+
Kristian Lauszus, TKJ Electronics
14+
Web : http://www.tkjelectronics.com
15+
16+
*/
17+
118
#include "EEPROMAnything.h"
219

320
cfg_t cfg; // Struct for all the configuration values

Firmware/Balanduino/EEPROMAnything.h

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/* Copyright (C) 2013 Kristian Lauszus, TKJ Electronics. All rights reserved.
2+
3+
This software may be distributed and modified under the terms of the GNU
4+
General Public License version 2 (GPL2) as published by the Free Software
5+
Foundation and appearing in the file GPL2.TXT included in the packaging of
6+
this file. Please note that GPL2 Section 2[b] requires that all works based
7+
on this software must also be made publicly available under the terms of
8+
the GPL2 ("Copyleft").
9+
10+
Contact information
11+
-------------------
12+
13+
Kristian Lauszus, TKJ Electronics
14+
Web : http://www.tkjelectronics.com
15+
16+
*/
17+
118
#ifndef _eepromanything_h_
219
#define _eepromanything_h_
320

Firmware/Balanduino/I2C.ino

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/* Copyright (C) 2013 Kristian Lauszus, TKJ Electronics. All rights reserved.
2+
3+
This software may be distributed and modified under the terms of the GNU
4+
General Public License version 2 (GPL2) as published by the Free Software
5+
Foundation and appearing in the file GPL2.TXT included in the packaging of
6+
this file. Please note that GPL2 Section 2[b] requires that all works based
7+
on this software must also be made publicly available under the terms of
8+
the GPL2 ("Copyleft").
9+
10+
Contact information
11+
-------------------
12+
13+
Kristian Lauszus, TKJ Electronics
14+
Web : http://www.tkjelectronics.com
15+
16+
*/
17+
118
const uint8_t IMUAddress = 0x68; // AD0 is logic low on the PCB
219
const uint16_t I2C_TIMEOUT = 100; // Used to check for errors in I2C communication
320

Firmware/Balanduino/Motor.ino

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/* Copyright (C) 2013 Kristian Lauszus, TKJ Electronics. All rights reserved.
2+
3+
This software may be distributed and modified under the terms of the GNU
4+
General Public License version 2 (GPL2) as published by the Free Software
5+
Foundation and appearing in the file GPL2.TXT included in the packaging of
6+
this file. Please note that GPL2 Section 2[b] requires that all works based
7+
on this software must also be made publicly available under the terms of
8+
the GPL2 ("Copyleft").
9+
10+
Contact information
11+
-------------------
12+
13+
Kristian Lauszus, TKJ Electronics
14+
Web : http://www.tkjelectronics.com
15+
16+
*/
17+
118
void updatePID(double restAngle, double offset, double turning, double dt) {
219
/* Brake */
320
if (steerStop) {

Firmware/Balanduino/Tools.ino

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/* Copyright (C) 2013 Kristian Lauszus, TKJ Electronics. All rights reserved.
2+
3+
This software may be distributed and modified under the terms of the GNU
4+
General Public License version 2 (GPL2) as published by the Free Software
5+
Foundation and appearing in the file GPL2.TXT included in the packaging of
6+
this file. Please note that GPL2 Section 2[b] requires that all works based
7+
on this software must also be made publicly available under the terms of
8+
the GPL2 ("Copyleft").
9+
10+
Contact information
11+
-------------------
12+
13+
Kristian Lauszus, TKJ Electronics
14+
Web : http://www.tkjelectronics.com
15+
16+
*/
17+
118
#ifdef ENABLE_TOOLS
219

320
void checkSerialData() {

0 commit comments

Comments
 (0)