Commit f229717ea997b23bb4d6ab2a4c9002eeb5e90c70

Authored by Enrique Díaz Roque
1 parent a32057ec
Exists in master and in 1 other branch dev

More inc.

tests/lcd_1/lib/hw_lcd/hw_lcd.cpp 0 → 100644
... ... @@ -0,0 +1,9 @@
  1 +#include <hw_lcd.hpp>
  2 +
  3 +hw_lcd::hw_lcd() {
  4 + lcd_addr = DEFAULT_ADDRESS;
  5 +}
  6 +
  7 +hw_lcd::hw_lcd(byte lcd_addr) {
  8 + this->lcd_addr = lcd_addr;
  9 +}
... ...
tests/lcd_1/lib/hw_lcd/hw_lcd.hpp 0 → 100644
... ... @@ -0,0 +1,20 @@
  1 +/*
  2 + Heisenwave's LCD
  3 +*/
  4 +
  5 +#ifndef HW_LCD_H
  6 +#define HW_LCD_H
  7 +
  8 +#include "Arduino.h"
  9 +
  10 +#define DEFAULT_ADDRESS byte(0xC6)
  11 +
  12 +class hw_lcd {
  13 + public:
  14 + hw_lcd();
  15 + hw_lcd(byte lcd_addr);
  16 + private:
  17 + byte lcd_addr;
  18 +};
  19 +
  20 +#endif
... ...
tests/lcd_1/src/main.ino 0 → 100644
... ... @@ -0,0 +1,7 @@
  1 +#include <hw_lcd.hpp>
  2 +
  3 +hw_lcd lcd(0xCE);
  4 +
  5 +void setup() {}
  6 +
  7 +void loop() {}
... ...
tests/lcd_1/src/sketch.ino
... ... @@ -1,8 +0,0 @@
1   -
2   -void setup()
3   -{
4   -}
5   -
6   -void loop()
7   -{
8   -}