I have development board of LPC2148 can anyone give me an example of UART communication for the same using visual studio 2008. Since the project is based on image processing I just need to the transfer those values to Embedded kit from visual studio.
So please if anyone has the example of let say "HELLO WORLD" also it would be a gerat help to me.
i have done a small code to send data though serial communication using visual studio.. i think it may help u...
below is the code in VB.net
in this i have used two text boxes and one button when we a enter some text in a textbox1 after clicking the butto, the text will be transfer to controller which we have connected to com port
Public Class Form2 Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load SerialPort1.Open() // End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim a As String SerialPort1.Write("abc") // transmitting data to controller though serial port a = SerialPort1.ReadExisting() // receiving data from controller through serial port TextBox2.Text = a.ToString() // displaying the data which we received in textbox End Sub End Class
Can I get a code which does the same thing in visual studio, but uses C languagee. Because I would be using openCv library which is used for image processing
"Can I get a code which does the same thing in visual studio, but uses C languagee."
Yes you can. The best way would be to use Google.
View all questions in Keil forum