Pages: [1]   Go Down
Author Topic: Recieve data from Serial when loop() busy  (Read 555 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 6
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello
My English is not very well.So dont blame me if I said something stupid...
I am looking for some help.When I use Arduino Mega to control some "Robotis Dynamixel" Servos,which uses a Serial packet protocol,I find that there seem to be no such things like AVR's Serial Interrupts to recieve data from servos when my Arduino is busy doing something else...So please help me...
Thank you!
windrunner
Logged

UK
Offline Offline
Faraday Member
**
Karma: 17
Posts: 2884
Gorm deficient
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The Serial class buffers 128 characters per channel, all interrupt-driven.
Logged

Per Arduino ad Astra

0
Offline Offline
Newbie
*
Karma: 0
Posts: 9
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You can directly use the ROBOTIS supplied embedded C Lib with Arduino. Arduino's Serial is interrupt driven already but does not work properly at 1MBps.

Check out http://support.robotis.com

BTW .
Robotis embedded c lib uses

Serial line ( i.e pin 0 & 1 ) for TTL /RS485 communication.
Logged

Pages: [1]   Go Up
Jump to: