Show Posts
Pages: [1]
1  Using Arduino / Project Guidance / Re: how do I interface with a 4x4 keypad/ on: December 08, 2012, 02:40:53 pm
One Analog Input to Arduino from a keypad.
I use it, and it works fine (but it's only 3x4 matrix keypad).

2  Using Arduino / Interfacing w/ Software on the Computer / Re: Arduino interface with Visual Basic Express 2010 on: December 08, 2012, 08:04:16 am
I did it this way:

Read Arduino in VB:
   Public iSerialReceived(50) As Integer
   Function SerialReceive() As Integer
        Dim iIndex As Integer

        On Error GoTo ErrHandler

        If SerialPort1.BytesToRead > 0 Then
            iIndex = 0 'Initialize

            While SerialPort1.BytesToRead > 0
               iSerialReceived(iIndex)= SerialPort1.ReadByte() ' Read next byte
               iIndex = iIndex + 1
            End While


        '…PROCESS ERROR…
    End Function

In Arduino:
You already send "LED ON"/"LED OFF" via Serial as far as i can see.
3  Using Arduino / Programming Questions / Re: Software serial vs serial on: February 12, 2012, 04:10:18 pm
Have tested it now. Works nice!
4  Using Arduino / Programming Questions / Software serial vs serial on: February 10, 2012, 03:58:33 pm
I wonder, is it possible use TX/RX on a arduino pro micro, communicate with a arduino uno using Serial in pro micro and software serial in the uno? The main question, is serial compatible with software serial?
Pages: [1]