ESP32 keypad problem
Posted: Mon Sep 09, 2024 5:47 pm
I am using FlowCode to program an ESP32-Wroom, simply put a 3x4 keypad and a display. The keypad is connected like this:-
byte pin_rows[ROW_NUM] = {19, 18, 5, 17}; // GPIO19, GPIO18, GPIO5, GPIO17 connect to the row pins
byte pin_column[COLUMN_NUM] = {16, 4, 0};
An arduino sketch proves the hardware is ok.
Using Flowcode on the same hardware the keypad does not function at all.
I am guessing that I need to activate the ESP32 pull-ups and also set the direction of the ports using Ccode but have not found any information to do this.
Can anyone point to a solution?
Thanks to all
Tinker2
byte pin_rows[ROW_NUM] = {19, 18, 5, 17}; // GPIO19, GPIO18, GPIO5, GPIO17 connect to the row pins
byte pin_column[COLUMN_NUM] = {16, 4, 0};
An arduino sketch proves the hardware is ok.
Using Flowcode on the same hardware the keypad does not function at all.
I am guessing that I need to activate the ESP32 pull-ups and also set the direction of the ports using Ccode but have not found any information to do this.
Can anyone point to a solution?
Thanks to all
Tinker2