Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: diegosantos on March 12, 2014, 04:40:18 pm

Title: monitor serial
Post by: diegosantos on March 12, 2014, 04:40:18 pm
hi !
i am using the codeblock with arduino.
is very good, but very very good !!!!!!!! and thk
the only thing i can not to do is how i can send data via serial port ?
if (Serial.available() > 0)
{
    Serial.println("data receiving ...........................................................");
 }
for when the serial port received any data print the string "..."
i test it into the arduino IDE and working good, but, there i have the monitor serial with a box for send data to the seria port.

much love, diego
Title: Re: monitor serial
Post by: BlueHazzard on March 12, 2014, 07:55:17 pm
???
i don't understand your question...
if you want receive data from the serial port on your pc you will need some terminal program. on windows for example telnet and on linux gtkTerm...

greetings
Title: Re: monitor serial
Post by: oBFusCATed on March 12, 2014, 08:33:01 pm
C::B doesn't have integrated serial port in/out support.
You have to use standalone application.
On linux I find screen to work out of the box (there are other methods of course).
For windows search the net, I'm sure there are plenty of apps.
Title: Re: monitor serial
Post by: diegosantos on March 14, 2014, 04:24:55 am
thk a lot, i will do that.