Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Com ports C++ and arduino

Status
Not open for further replies.
If you are using MFC then the library is readily available... However! If you haven't a com port Use a CDC library...

For PC development I use Lazarus... Its as easy as VB6 and with the Synaser library it's a doddle... Anyone who knows pascal will breeze through.
 
Just use the serial monitor. If that doesn't work, ask a different question.

Mike.
 
In c++? You mean with the Arduino IDE? Open the Serial Monitor from the drop-down menu. Then use Serial.begin(9600) in your code and set the Serial Monitor to the same baud rate (lower right corner) as your Serial.Begin command.

Or, if using a home brew app, then you need to push bytes from the arduino using the Serial.begin and serial.print() or println commands to send the data to some program that is receiving the data.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top