Home
Prox / RFID
Verichips
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Photographs
Miscellany
Resume / Consulting
Contact Me

LDmicro Forum - leadingzero

(you are viewing a thread; or go back to list of threads)

leadingzero (by marzook)
how can i send by uart leadingzero to some number
Fri Oct 22 2021, 04:46:35
(no subject) (by Calubert)
I do not understand what you want to express, can you explain a little more details to me. Thanks

No entiendo lo que quieres expresar, puedes explicarte un poco mas detalles. Gracias
Tue Oct 26 2021, 06:16:20
(no subject) (by MGP)
'00123' the first two zeros in that number are leading zeros.

LDmicro transforms and sends that number in the UART routine as <space><space>123 or 0x20 0x20 0x49 0x50 0x51

So you will see that number as 123 and it will be right aligned.

You can't change that, unless you can program the receiver and replace the <space> with a '0'
Tue Oct 26 2021, 11:56:45
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):