Skip to content

Hardware serial with TM1652 (fixed: Halt when using RP2040)  #42

@YeWuChen

Description

@YeWuChen

I tried using RP2040 to drive TM1652, but the example would crash and Windows would prompt an unrecognized USB devices.
But I can use hardware serial to driven TM1652, just use 'Serial2.begin(19200,SERIAL_8O2);' and set the TX pin to hardware serial pin, just
pay attention to the initialization, need to add a about 6ms of delay between the cleardisplay and send command.

Arduino IDE version: 1.8.19
RP2040 version: 3.6.0 by Earle F. Philhower, III

And there's my code:
my_TM1652.zip

It would be great if this library could be used hardware serial with all the good features of TM16XX library!

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions