Search found 1 match

by richterlevania3
Thu Aug 17, 2023 3:25 am
Forum: ESP32 Arduino
Topic: I want to use an ESP-32 to read keypresses and show it on an OLED screen. I can't get it to detect keypresses
Replies: 1
Views: 866

I want to use an ESP-32 to read keypresses and show it on an OLED screen. I can't get it to detect keypresses

I'm using the following code. The ESP32 goes on a loop printing gibberish and doesn't detect any keypresses. I'm using a Wroom32 with 38 pins.
I'm using diodes on the columns.
#include <Arduino.h>

const int numRows = 4;
const int numCols = 12;

const byte rowPins[numRows] = {1, 3, 17, 4};
const ...

Go to advanced search