10 years, 6 months ago.

send and receive serial data

i want to display the score of a game on 7 segment display and i am not getting how to do it. I am in need of your support.So ,kindly help me.

1 Answer

10 years, 6 months ago.

If your display has serial data controller then you need controllers datasheet. Then connect correct power 3.3v or 5v to the controller .

-If the controller is using I2C, use I2C pins of your unit and I2C class of mbed.

-If the controller is using RS-232 or other RS- 4xx standard, use Serial class of mbed and serial tx and rx pins.

- If the controller is using custom 2 wire serial protocol you can use serial tx and rx pins or whatever digital io pin. You need to find or implement bit level controller class for custom protocol.

-If the controller is using using SPI, use SPI connectors and SPI class.