mirror of
https://github.com/k3ng/k3ng_rotator_controller.git
synced 2024-12-21 14:07:53 +00:00
2018.10.19.03
Added FEATURE_FABO_LCD_PCF8574_DISPLAY
This commit is contained in:
parent
eccdaebd16
commit
05ffde5537
@ -388,7 +388,12 @@
|
||||
Added OPTION_SAVE_MEMORY_EXCLUDE_BACKSLASH_CMDS
|
||||
|
||||
2018.10.19.02
|
||||
Added Hygain DCU-1 protocol emulation - FEATURE_DCU_1_EMULATION
|
||||
Added Hygain DCU-1 protocol emulation - FEATURE_DCU_1_EMULATION
|
||||
|
||||
2018.10.19.03
|
||||
Added FEATURE_FABO_LCD_PCF8574_DISPLAY
|
||||
|
||||
|
||||
|
||||
|
||||
All library files should be placed in directories likes \sketchbook\libraries\library1\ , \sketchbook\libraries\library2\ , etc.
|
||||
@ -400,7 +405,7 @@
|
||||
|
||||
*/
|
||||
|
||||
#define CODE_VERSION "2018.10.19.02"
|
||||
#define CODE_VERSION "2018.10.19.03"
|
||||
|
||||
#include <avr/pgmspace.h>
|
||||
#include <EEPROM.h>
|
||||
@ -450,6 +455,11 @@
|
||||
#include <ST7036.h>
|
||||
#endif
|
||||
|
||||
|
||||
#if defined(FEATURE_FABO_LCD_PCF8574_DISPLAY)
|
||||
#include <FaBoLCD_PCF8574.h>
|
||||
#endif
|
||||
|
||||
#ifdef FEATURE_LCD_DISPLAY
|
||||
#include "rotator_k3ngdisplay.h"
|
||||
#endif
|
||||
|
@ -76,11 +76,11 @@
|
||||
#define FEATURE_ONE_DECIMAL_PLACE_HEADINGS
|
||||
#endif
|
||||
|
||||
#if defined(FEATURE_4_BIT_LCD_DISPLAY) || defined(FEATURE_I2C_LCD) || defined(FEATURE_ADAFRUIT_I2C_LCD) || defined(FEATURE_YOURDUINO_I2C_LCD) || defined(FEATURE_RFROBOT_I2C_DISPLAY) || defined(FEATURE_YWROBOT_I2C_DISPLAY) || defined(FEATURE_SAINSMART_I2C_LCD) || defined(FEATURE_MIDAS_I2C_DISPLAY)
|
||||
#if defined(FEATURE_4_BIT_LCD_DISPLAY) || defined(FEATURE_I2C_LCD) || defined(FEATURE_ADAFRUIT_I2C_LCD) || defined(FEATURE_YOURDUINO_I2C_LCD) || defined(FEATURE_RFROBOT_I2C_DISPLAY) || defined(FEATURE_YWROBOT_I2C_DISPLAY) || defined(FEATURE_SAINSMART_I2C_LCD) || defined(FEATURE_MIDAS_I2C_DISPLAY) || defined(FEATURE_FABO_LCD_PCF8574_DISPLAY)
|
||||
#define FEATURE_LCD_DISPLAY
|
||||
#endif
|
||||
|
||||
#if defined(FEATURE_ADAFRUIT_I2C_LCD) || defined(FEATURE_YOURDUINO_I2C_LCD) || defined(FEATURE_RFROBOT_I2C_DISPLAY) || defined(FEATURE_YWROBOT_I2C_DISPLAY) || defined(FEATURE_SAINSMART_I2C_LCD) || defined(FEATURE_MIDAS_I2C_DISPLAY)
|
||||
#if defined(FEATURE_ADAFRUIT_I2C_LCD) || defined(FEATURE_YOURDUINO_I2C_LCD) || defined(FEATURE_RFROBOT_I2C_DISPLAY) || defined(FEATURE_YWROBOT_I2C_DISPLAY) || defined(FEATURE_SAINSMART_I2C_LCD) || defined(FEATURE_MIDAS_I2C_DISPLAY) || defined(FEATURE_FABO_LCD_PCF8574_DISPLAY)
|
||||
#define FEATURE_I2C_LCD
|
||||
#endif
|
||||
|
||||
|
@ -78,6 +78,7 @@
|
||||
// #define FEATURE_YWROBOT_I2C_DISPLAY
|
||||
// #define FEATURE_SAINSMART_I2C_LCD
|
||||
// #define FEATURE_MIDAS_I2C_DISPLAY
|
||||
// #define FEATURE_FABO_LCD_PCF8574_DISPLAY
|
||||
|
||||
// #define FEATURE_ANALOG_OUTPUT_PINS
|
||||
|
||||
|
@ -76,6 +76,7 @@
|
||||
// #define FEATURE_YWROBOT_I2C_DISPLAY
|
||||
// #define FEATURE_SAINSMART_I2C_LCD
|
||||
// #define FEATURE_MIDAS_I2C_DISPLAY
|
||||
// #define FEATURE_FABO_LCD_PCF8574_DISPLAY
|
||||
|
||||
//#define FEATURE_SUN_PUSHBUTTON_AZ_EL_CALIBRATION
|
||||
//#define FEATURE_MOON_PUSHBUTTON_AZ_EL_CALIBRATION
|
||||
|
@ -83,6 +83,7 @@
|
||||
// #define FEATURE_YWROBOT_I2C_DISPLAY
|
||||
// #define FEATURE_SAINSMART_I2C_LCD
|
||||
// #define FEATURE_MIDAS_I2C_DISPLAY
|
||||
// #define FEATURE_FABO_LCD_PCF8574_DISPLAY
|
||||
|
||||
// #define FEATURE_ANALOG_OUTPUT_PINS
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#ifndef K3NG_DISPLAY_H
|
||||
#define K3NG_DISPLAY_H
|
||||
|
||||
// K3NG_DISPLAY_LIBRARY_VERSION "2018.10.17.01"
|
||||
// K3NG_DISPLAY_LIBRARY_VERSION "2018.10.19.01"
|
||||
|
||||
|
||||
#if defined(ARDUINO) && ARDUINO >= 100
|
||||
@ -39,6 +39,9 @@
|
||||
#include <LCD_C0220BiZ.h>
|
||||
#include <ST7036.h>
|
||||
#endif
|
||||
#if defined(FEATURE_FABO_LCD_PCF8574_DISPLAY)
|
||||
#include <FaBoLCD_PCF8574.h>
|
||||
#endif
|
||||
|
||||
|
||||
#if defined(FEATURE_YOURDUINO_I2C_LCD)
|
||||
@ -79,6 +82,11 @@
|
||||
ST7036 lcd = ST7036 ( 2, 16, 120 );
|
||||
#endif
|
||||
|
||||
#if defined(FEATURE_FABO_LCD_PCF8574_DISPLAY)
|
||||
FaBoLCD_PCF8574 lcd;
|
||||
#endif
|
||||
|
||||
|
||||
int display_columns = 0;
|
||||
uint8_t display_rows = 0;
|
||||
char screen_buffer_live[MAX_SCREEN_BUFFER_COLUMNS*MAX_SCREEN_BUFFER_ROWS];
|
||||
@ -127,6 +135,10 @@ void K3NGdisplay::initialize(){
|
||||
lcd.init();
|
||||
#endif
|
||||
|
||||
#if defined(FEATURE_FABO_LCD_PCF8574_DISPLAY)
|
||||
lcd.begin(display_columns, display_rows);
|
||||
#endif
|
||||
|
||||
#ifdef FEATURE_YOURDUINO_I2C_LCD
|
||||
lcd.setBacklightPin(BACKLIGHT_PIN, POSITIVE);
|
||||
lcd.setBacklight(I2C_LCD_COLOR);
|
||||
|
@ -23,7 +23,8 @@
|
||||
// #define FEATURE_YWROBOT_I2C_DISPLAY
|
||||
// #define FEATURE_SAINSMART_I2C_LCD
|
||||
// #define FEATURE_ADAFRUIT_BUTTONS
|
||||
// #define FEATURE_MIDAS_I2C_DISPLAY
|
||||
// #define FEATURE_MIDAS_I2C_DISPLAY
|
||||
// #define FEATURE_FABO_LCD_PCF8574_DISPLAY
|
||||
|
||||
// #define OPTION_RFROBOT_I2C_DISPLAY_BACKLIGHT_OFF
|
||||
|
||||
@ -65,7 +66,7 @@
|
||||
#include "rotator.h"
|
||||
#endif
|
||||
|
||||
#define K3NG_DISPLAY_LIBRARY_VERSION "2018.10.17.01"
|
||||
#define K3NG_DISPLAY_LIBRARY_VERSION "2018.10.19.01"
|
||||
#define MAX_SCREEN_BUFFER_COLUMNS 20
|
||||
#define MAX_SCREEN_BUFFER_ROWS 4
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user