8-bit IF UCGLIB
Posted: Tue Dec 13, 2016 10:56 am
My first step to Output an image on the "ITEAD STUDIO.2.8 ITDB02 Shield(Arduino)" for further implement
the https://github.com/krzychb/esp32-cam-demo;
It's the Ucglib running on ESP32 in the Arduino-IDE.
Unzip Ucglib.zip in libraries (for Win7/64bit).
Open Example in libraries\Ucglib\examples\Box3D\Box3Desp32.ino..
Look at pinlist :(pins _arduino.h)
the https://github.com/krzychb/esp32-cam-demo;
It's the Ucglib running on ESP32 in the Arduino-IDE.
Unzip Ucglib.zip in libraries (for Win7/64bit).
Open Example in libraries\Ucglib\examples\Box3D\Box3Desp32.ino..
Look at pinlist :(pins _arduino.h)
Code: Select all
#ifndef Pins_Arduino_h
#define Pins_Arduino_h
#define EXTERNAL_NUM_INTERRUPTS 16
#define NUM_DIGITAL_PINS 40
#define NUM_ANALOG_INPUTS 18
#define analogInputToDigitalPin(p)
#define digitalPinToInterrupt(p) (((p)<40)?(p):-1)
#define digitalPinHasPWM(p) (p < 34)
static const uint8_t B_SDA = 21; // gpio_num_t
static const uint8_t B_SCL = 22;
static const uint8_t SS = 2;
static const uint8_t MOSI = 23;
static const uint8_t MISO = 19;
static const uint8_t SCK = 18;
static const uint8_t D0 = 13;
static const uint8_t D1 = 12;
static const uint8_t D2 = 14;
static const uint8_t D3 = 27;
static const uint8_t D4 = 26;
static const uint8_t D5 = 25;
static const uint8_t D6 = 16;
static const uint8_t D7 = 4;
// 8Bit Com: D0..D7: 0,1,2,3,4,5,6,7 en=wr=18, cs=17, rs=19, rd=U8G_PIN_NONE, reset = 16 18,17,19,-,16 ---> 15,5,17,16
/*
static const uint8_t WR = 18;
static const uint8_t CS = 17;
static const uint8_t RS = 19;
static const uint8_t RESET = -1;
*/
#endif /* Pins_Arduino_h */