Here, I have the laptop connected to the Arduino via USB. I send a number over the USB port from the PC to my code running on the Arduino. My code parses the digits and displays each number on the 7-segment LED, one digit at a time (500 ms per digit). The 7-digit LED doesn’t know “numbers” or “characters”; it just knows its segments. Because of this, I have to map a given character to the appropriate segments on the display. If you watch closely, you can see the wires running from the Arduino pins to the LED pins. Neat.
Send your message to us:
Post time: Jun-26-2017