Search found 4 matches

by Francis
Thu Jan 14, 2021 9:54 am
Forum: Hardware
Topic: sensor_vn used as GPIO39 input
Replies: 2
Views: 2510

Re: sensor_vn used as GPIO39 input

Thank you very much!

Here is the solution I finally use:

Code: Select all

byte rowPins[ROWS] = {25, 39, 34, 35};
byte colPins[COLS] = {33, 26, 32};
Cheers,

Francis
by Francis
Wed Jan 13, 2021 4:21 pm
Forum: Hardware
Topic: sensor_vn used as GPIO39 input
Replies: 2
Views: 2510

sensor_vn used as GPIO39 input

Hello, I am trying to connect a 3x4 keyboard using Keypad.h library example. I wish to use GPIO 26, 25, 33, 32, 35, 34, 39 as input. I put 10k pull-up resistors for GPIO 35, 34 and 39. I have to use code as follow: byte rowPins[ROWS] = {R1, R2, R3, R4}; byte colPins[COLS] = {C1, C2, C3}; Case 1 work...
by Francis
Tue Jan 12, 2021 2:38 pm
Forum: Hardware
Topic: esp32, use HSPI pins for ST7735
Replies: 1
Views: 2604

Re: esp32, use HSPI pins for ST7735

I changed ESP32 board and used shorter wires. Then the problem got solved!
by Francis
Mon Jan 11, 2021 2:17 pm
Forum: Hardware
Topic: esp32, use HSPI pins for ST7735
Replies: 1
Views: 2604

esp32, use HSPI pins for ST7735

Hello everyone! I am trying to connect my ST7735 to my esp32 devkit v1 via HSPI pins. Unfortunatly, I can't make it work. My code: #include <Adafruit_GFX.h> #include <Adafruit_ST7735.h> #include <SPI.h> #define TFT_CS 15 #define TFT_DC 2 #define TFT_RST 4 #define TFT_MOSI 13 #define TFT_SCLK 14 #def...