Skip to content

Commit b8ee591

Browse files
committed
Add license and comments
1 parent 911ddf1 commit b8ee591

11 files changed

+62
-1
lines changed

Display.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/// Copyright © 2022 Jacob Gelman
2+
/// This code is licensed under the MIT License.
3+
/// See the LICENSE file in the project root for license terms.
4+
15
#include <SPI.h>
26
#include <Wire.h>
37
#include <Adafruit_GFX.h>
@@ -30,7 +34,7 @@ void Display::update(bool isRunning, double fillPercentage, unsigned int param)
3034
// "Ready" text
3135
_disp->setCursor(50, HEIGHT * 0.25);
3236
_disp->print(F("Ready"));
33-
37+
3438
// Param number
3539
_disp->fillRoundRect(0, 0, 30, HEIGHT, 4, SSD1306_WHITE);
3640
_disp->setCursor(8, HEIGHT * 0.2);

Display.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/// Copyright © 2022 Jacob Gelman
2+
/// This code is licensed under the MIT License.
3+
/// See the LICENSE file in the project root for license terms.
4+
15
#include <Adafruit_SSD1306.h>
26

37
#ifndef DISPLAY_H

IOInterface.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/// Copyright © 2022 Jacob Gelman
2+
/// This code is licensed under the MIT License.
3+
/// See the LICENSE file in the project root for license terms.
4+
15
#include <Arduino.h>
26
#include <P1AM.h>
37

IOInterface.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/// Copyright © 2022 Jacob Gelman
2+
/// This code is licensed under the MIT License.
3+
/// See the LICENSE file in the project root for license terms.
4+
15
#include "LEDBus.hpp"
26
#include "Display.hpp"
37
#include "config.h"

LEDBus.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/// Copyright © 2022 Jacob Gelman
2+
/// This code is licensed under the MIT License.
3+
/// See the LICENSE file in the project root for license terms.
4+
15
#include "FastLED.h"
26

37
#include "LEDBus.hpp"

LEDBus.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/// Copyright © 2022 Jacob Gelman
2+
/// This code is licensed under the MIT License.
3+
/// See the LICENSE file in the project root for license terms.
4+
15
#include "FastLED.h"
26

37
#ifndef LEDBUS_H

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2022 Jacob Gelman
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

Process.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/// Copyright © 2022 Jacob Gelman
2+
/// This code is licensed under the MIT License.
3+
/// See the LICENSE file in the project root for license terms.
4+
15
#include <math.h>
26
#include <Arduino.h>
37

Process.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/// Copyright © 2022 Jacob Gelman
2+
/// This code is licensed under the MIT License.
3+
/// See the LICENSE file in the project root for license terms.
4+
15
#include "IOInterface.hpp"
26

37
#ifndef PROCESS_H

ProcessSimulator.ino

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/// Copyright © 2022 Jacob Gelman
2+
/// This code is licensed under the MIT License.
3+
/// See the LICENSE file in the project root for license terms.
4+
15
#include <Arduino.h>
26
#include <P1AM.h>
37

config.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/// Copyright © 2022 Jacob Gelman
2+
/// This code is licensed under the MIT License.
3+
/// See the LICENSE file in the project root for license terms.
4+
15
#pragma once
26

37
// The number of modules being used.

0 commit comments

Comments
 (0)