mirror of
https://github.com/k3ng/k3ng_rotator_controller.git
synced 2025-02-20 17:22:49 +00:00
2.0.2015112501
Fixed FEATURE_YWROBOT_I2C_DISPLAY with updated k3ngdisplay.h and k3ngdisplay..cpp. Pin settings are back in rotator_pins.h.
This commit is contained in:
parent
b8166489b6
commit
ffe20694ef
@ -37,6 +37,7 @@
|
||||
Paolo IT9IPQ
|
||||
Ismael PY4PI
|
||||
Robert DL5ROB
|
||||
David ON4BDS
|
||||
|
||||
|
||||
(If you contributed something and I forgot to put your name and call in here, *please* email me!)
|
||||
@ -422,10 +423,13 @@
|
||||
|
||||
2.0.2015111502
|
||||
LANGUAGE_DUTCH courtesy of David, ON4BDS
|
||||
|
||||
2.0.2015112501
|
||||
Fixed FEATURE_YWROBOT_I2C_DISPLAY with updated k3ngdisplay.h and k3ngdisplay..cpp. Pin settings are back in rotator_pins.h.
|
||||
|
||||
*/
|
||||
|
||||
#define CODE_VERSION "2.0.2015111502"
|
||||
#define CODE_VERSION "2.0.2015112501"
|
||||
|
||||
#include <avr/pgmspace.h>
|
||||
#include <EEPROM.h>
|
||||
@ -1011,7 +1015,6 @@ DebugClass debug;
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
//yyyyyyyyy
|
||||
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
#ifndef K3NG_DISPLAY_H
|
||||
#define K3NG_DISPLAY_H
|
||||
|
||||
// K3NG_DISPLAY_LIBRARY_VERSION "1.0.2015092001"
|
||||
// K3NG_DISPLAY_LIBRARY_VERSION "1.0.2015112501"
|
||||
|
||||
|
||||
#if defined(ARDUINO) && ARDUINO >= 100
|
||||
@ -49,6 +49,12 @@
|
||||
#endif //FEATURE_RFROBOT_I2C_DISPLAY
|
||||
|
||||
|
||||
#ifdef FEATURE_YWROBOT_I2C_DISPLAY
|
||||
#include <LiquidCrystal_I2C.h>
|
||||
LiquidCrystal_I2C lcd(ywrobot_address, ywrobot_pin_en, ywrobot_pin_rw, ywrobot_pin_rs, ywrobot_pin_d4, ywrobot_pin_d5, ywrobot_pin_d6, ywrobot_pin_d7, ywrobot_pin_bl, ywrobot_blpol);
|
||||
#endif //FEATURE_YWROBOT_I2C_DISPLAY
|
||||
|
||||
|
||||
|
||||
|
||||
int display_columns = 0;
|
||||
|
@ -47,7 +47,7 @@
|
||||
|
||||
|
||||
|
||||
#define K3NG_DISPLAY_LIBRARY_VERSION "1.0.2015092001"
|
||||
#define K3NG_DISPLAY_LIBRARY_VERSION "1.0.2015112501"
|
||||
#define MAX_SCREEN_BUFFER_COLUMNS 20
|
||||
#define MAX_SCREEN_BUFFER_ROWS 4
|
||||
|
||||
|
@ -199,3 +199,16 @@
|
||||
#define pin_sei_bus_send_receive 22
|
||||
#endif
|
||||
|
||||
#ifdef FEATURE_YWROBOT_I2C_DISPLAY
|
||||
#define ywrobot_address 0x3F
|
||||
#define ywrobot_pin_en 2
|
||||
#define ywrobot_pin_rw 1
|
||||
#define ywrobot_pin_rs 0
|
||||
#define ywrobot_pin_d4 4
|
||||
#define ywrobot_pin_d5 5
|
||||
#define ywrobot_pin_d6 6
|
||||
#define ywrobot_pin_d7 7
|
||||
#define ywrobot_pin_bl 3
|
||||
#define ywrobot_blpol POSITIVE
|
||||
#endif //FEATURE_YWROBOT_I2C_DISPLAY
|
||||
|
||||
|
@ -209,3 +209,16 @@
|
||||
#define pin_sei_bus_send_receive 22
|
||||
#endif
|
||||
|
||||
#ifdef FEATURE_YWROBOT_I2C_DISPLAY
|
||||
#define ywrobot_address 0x3F
|
||||
#define ywrobot_pin_en 2
|
||||
#define ywrobot_pin_rw 1
|
||||
#define ywrobot_pin_rs 0
|
||||
#define ywrobot_pin_d4 4
|
||||
#define ywrobot_pin_d5 5
|
||||
#define ywrobot_pin_d6 6
|
||||
#define ywrobot_pin_d7 7
|
||||
#define ywrobot_pin_bl 3
|
||||
#define ywrobot_blpol POSITIVE
|
||||
#endif //FEATURE_YWROBOT_I2C_DISPLAY
|
||||
|
||||
|
@ -185,5 +185,18 @@
|
||||
|
||||
//#define reset_pin 22 // if defined, goes HIGH to reset unit
|
||||
|
||||
#ifdef FEATURE_YWROBOT_I2C_DISPLAY
|
||||
#define ywrobot_address 0x3F
|
||||
#define ywrobot_pin_en 2
|
||||
#define ywrobot_pin_rw 1
|
||||
#define ywrobot_pin_rs 0
|
||||
#define ywrobot_pin_d4 4
|
||||
#define ywrobot_pin_d5 5
|
||||
#define ywrobot_pin_d6 6
|
||||
#define ywrobot_pin_d7 7
|
||||
#define ywrobot_pin_bl 3
|
||||
#define ywrobot_blpol POSITIVE
|
||||
#endif //FEATURE_YWROBOT_I2C_DISPLAY
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user