Notifications
Clear all

Does Keypad.h work differently on Uno R3 than on R4?

3 Posts
2 Users
1 Reactions
571 Views
(@petertrad)
Member
Joined: 7 months ago
Posts: 11
Topic starter  

Hi All,

I tried the Keypad tutorial , link here , on my Arduino Uno R4, Wifi, with a 4x4 membrane switch Keypad. I get a stream of numbers, on the serial monitor,  especially when I move it around. If I replace the Keypad.h by Marc Stanley, with the Adafruit_keypad, the problem goes away.

A friend of mine who is an EE said he suspects that it is taking longer for the pull-ups to occur and that adding a delay in the Keypad.h code might solve the problem.

Has anyone seen this problem before?

In advance, thank you for your help.

Regards,

PeterTrad



   
Quote
robotBuilder
(@robotbuilder)
Member
Joined: 6 years ago
Posts: 2387
 

@petertrad

"Libraries that use AVR-specific instructions are not compatible with the architecture of UNO R4 boards. However, some of these libraries have already been ported. For more details, refer to the UNO R4 Library Compatibility repository."

https://support.arduino.cc/hc/en-us/articles/9350551575964-What-s-the-difference-between-UNO-R3-and-UNO-R4-boards

 



   
PeterTrad reacted
ReplyQuote
(@petertrad)
Member
Joined: 7 months ago
Posts: 11
Topic starter  

@robotbuilder Thank you!



   
ReplyQuote