Follow-up and improvement the PR #4053 (CNControls Cartesio UI Support)

・Add implimantation of PR #3609 to configuration files of Cartesio
・Standardize macro names
master
esenapaj 9 years ago
parent cd9ecfdcb1
commit 106227540e

@ -143,7 +143,7 @@
U8GLIB_ST7920_128X64_RRD u8g(0);
#elif defined(CARTESIO_UI)
// The CartesioUI display with SW-SPI
U8GLIB_DOGM128 u8g(DOGLCD_sck, DOGLCD_mosi, DOGLCD_cs, DOGLCD_a0);
U8GLIB_DOGM128 u8g(DOGLCD_SCK, DOGLCD_MOSI, DOGLCD_CS, DOGLCD_A0);
#elif ENABLED(U8GLIB_LM6059_AF)
// Based on the Adafruit ST7565 (http://www.adafruit.com/products/250)
U8GLIB_LM6059 u8g(DOGLCD_CS, DOGLCD_A0);

@ -38,6 +38,19 @@
#ifndef CONFIGURATION_H
#define CONFIGURATION_H
/**
*
* ***********************************
* ** ATTENTION TO ALL DEVELOPERS **
* ***********************************
*
* You must increment this version number for every significant change such as,
* but not limited to: ADD, DELETE RENAME OR REPURPOSE any directive/option.
*
* Note: Update also Version.h !
*/
#define CONFIGURATION_H_VERSION 010100
#include "boards.h"
#include "macros.h"

@ -33,6 +33,19 @@
#ifndef CONFIGURATION_ADV_H
#define CONFIGURATION_ADV_H
/**
*
* ***********************************
* ** ATTENTION TO ALL DEVELOPERS **
* ***********************************
*
* You must increment this version number for every significant change such as,
* but not limited to: ADD, DELETE RENAME OR REPURPOSE any directive/option.
*
* Note: Update also Version.h !
*/
#define CONFIGURATION_ADV_H_VERSION 010100
#include "Conditionals.h"
// @section temperature

@ -79,10 +79,10 @@
#define BEEPER_PIN 16
// Pins for DOGM SPI LCD Support
#define DOGLCD_a0 39
#define DOGLCD_cs 35
#define DOGLCD_mosi 48
#define DOGLCD_sck 49
#define DOGLCD_A0 39
#define DOGLCD_CS 35
#define DOGLCD_MOSI 48
#define DOGLCD_SCK 49
#define LCD_SCREEN_ROT_180
//The encoder and click button

Loading…
Cancel
Save