ESP32 keypad problem

Tinker2
Posts: 1
Joined: Sat Sep 07, 2024 8:05 pm

ESP32 keypad problem

Postby Tinker2 » 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

mikemoy
Posts: 627
Joined: Fri Jan 12, 2018 9:10 pm

Re: ESP32 keypad problem

Postby mikemoy » Wed Sep 11, 2024 3:34 am


Who is online

Users browsing this forum: Bing [Bot] and 137 guests