Reply To: Can not connect with windows app through USB

Forums General Questions and Comments Can not connect with windows app through USB Reply To: Can not connect with windows app through USB

#2614
Martyn
Keymaster

Hi Luc,

just had chance to review the serial connection for the Micro. The Micro uses the same chip as the Leonardo and the extra setting are DTR and RTS to TRUE. These are only required by the ATmega32U4 based Arduinos (Micro and Leonardo). I have a provision for this on the Settings tab, set Leonardo to YES.

For the 328 based Arduinos these settings don’t really matter so I never changed them.

In the VB source file the relevant part is at around line 359
If (SET_LEO_BUT.Text = “ON”) Then
SerialPort1.DtrEnable = True
SerialPort1.RtsEnable = True
End If

Any COM port set in the designer is over-riding in code when you select a COM port from the drop down menu.