SparkFun Forums 

Where electronics enthusiasts find answers.

Your source for all things Atmel.
By leunghoming
#85802
I just bought the serial 7-segments LED display last week and using serial TTL communication with 3 wires connected to VCC, GND and RX.
The wires connection was double checked and in best condition.

The code in VB.Net to open the RS232 ComPort in 9600, N, 8, 1 is good and test in other device already.

I am trying to send number 1, 2, 3, 4 to let LED to display "1234", it always display "0000"!

Following is my code for sending the data to LED module:

'Declaring
Dim WithEvents RS232 As SerialPort
....
'Open the RS232 ComPort
RS232 = New IO.Ports.SerialPort(COM1, 9600, None, 8, 1)
RS232.Open()
....
'Send out data
Dim xmtSend() As Byte = {&H31, &H32, &H33, &H34}
RS232.Write(xmtSend, 0, 4)

Please help!
long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]