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:
Anthony Good 2015-11-25 12:58:02 -05:00
parent b8166489b6
commit ffe20694ef
6 changed files with 52 additions and 4 deletions

View File

@ -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

View File

@ -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;

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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