I am new to coding and controllers, so apologies if this is an elementary question. I could not find anything on web to explain.
I am trying to use a keypad.h library and a wifi library which require 9600 and 115200. How do I handle this? I’m using NodeMCU ESP32s and simple 4×4 keypad. I have the wifi library working ok and now trying to implement keypad to my project. Many thanks!
Are you referring to the Serial Monitor baud rate?
You don’t need to worry about that.
Choose one of those baud rates, and it should work.
Or are you asking about a different issue?
If the keypad uses serial with a different baud rate you will require a separate serial port. The ESP32 has 3 UART controllers so it would be just a matter of connecting the wires to the correct pins.
Yes, the keypad.h library seems to require 9600 and the wifi.h library seems to require 115200. So assuming I connect to the correct UART pins, I can use different baud rates?? Thanks!