Added SoftwareSerial header and in Makefile.
This commit is contained in:
@@ -5,8 +5,12 @@ BOARD_SUB = 8MHzatmega328
|
||||
USER_LIB_PATH += /home/ricardo/Arduino/libraries
|
||||
ARDUINO_LIBS += LiquidCrystal \
|
||||
SPI \
|
||||
SD
|
||||
ARDUINO_DIR = /home/ricardo/arduino-1.8.5
|
||||
MONITOR_PORT = /dev/ttyUSB0
|
||||
include /usr/share/arduino/Arduino.mk
|
||||
SD \
|
||||
SoftwareSerial
|
||||
|
||||
# ARDUINO_DIR = /home/ricardo/arduino-1.8.5
|
||||
ARDUINO_DIR = /home/ricardo/Installs/arduino-1.8.7
|
||||
MONITOR_PORT = /dev/ttyUSB0
|
||||
-include /usr/share/arduino/Arduino.mk
|
||||
-include /home/ricardo/Installs/Arduino-Makefile-1.6.0/Arduino.mk
|
||||
|
||||
|
@@ -12,6 +12,7 @@ Tue Jun 12 14:56:12 GMT 2018
|
||||
#include <LiquidCrystal.h> // Handles the connection and communications with the LCD display
|
||||
#include <SPI.h> // Handles the SPI connection to the SD card
|
||||
#include <SD.h> // Handles communication routines with the SD card
|
||||
#include <SoftwareSerial.h> // Handles serial communications thru software
|
||||
|
||||
|
||||
// Configuration of pins, insert here arduino pin numbers only(not fisical)----------------------------
|
||||
@@ -23,6 +24,8 @@ Tue Jun 12 14:56:12 GMT 2018
|
||||
#define LEFT 16 // Button 1 will be function Left
|
||||
#define RIGHT 18 // Button 2 will be function Right
|
||||
#define ACT 19 // Button 3 will be function Action
|
||||
#define BLUE_RX 8 // Arduino rx serial line to bluetooth
|
||||
#define BLUE_TX 9 // Arduino tx serial line to bluetooth
|
||||
LiquidCrystal lcd(7, 6, 2, 3, 4, 5); // LCD screen pins, LiquidCrystal(rs, enable, d4, d5, d6, d7)
|
||||
//-----------------------------------------------------------------------------------------------------
|
||||
|
||||
|
Reference in New Issue
Block a user