Click here to Skip to main content
14,922,948 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hello everyone

All I want to do is get a msgbox to show on my application that contains the message that the arduino leonardo sent via serial.

arduino code:

void setup() {

void loop() {

I've heard that you have to do something different with the Leonardo in particular about the handshaking process. :/
Does anyone know of a code that i can use?


1 solution

With aruduino, I am pretty sure you need to use the Serial.writeLN("Hello") Command.

and in you need to find out what comport your arduino is connected to.

then you csn set up a comport connection with serialPort and use that to communicate to the arduino.

here is a link with some serial comunication instructions for
Link to serial communications

Here is one for the Arduino side. LINK
[no name] 11-Aug-13 13:01pm
The arduino link was no help at all, the Com port is COM3. Baud rate=9600. But what code do i use that works with the LEONARDO? it's different to other arduinos.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900