Shop OBEX P1 Docs P2 Docs Learn Events
Javelin Terminal Update Speed. — Parallax Forums

Javelin Terminal Update Speed.

dkwondkwon Posts: 13
edited 2005-10-21 09:12 in General Discussion
Hello,

I am using Javelin to get various sensor data (force, accelerometer, digital compass). I am very suffering from the speed.

I·observe the sensor value update through the Javelin Terminal using the System.out.println thing.

Javelin Terminal update speed is real speed? Or it will be much faster inside Javelin?

Best

Doo Young Kwon



·

Comments

  • Peter VerkaikPeter Verkaik Posts: 3,956
    edited 2005-10-21 08:33
    Whenever·your program issues a System.out.print() statement, the data

    is printed to the javelin ide message window. So this is real speed.

    Problem is that the javelin not only transmits your data bytes but also metadata bytes

    to·comply to the javelin protocol, and this is a foreground task.

    The best option to increase speed is to use a transmit uart and hyperterminal at the pc.

    Then only your databytes are transmitted, and they are transmitted in the background,

    so your mainloop will loop faster.

    If you go this option, don't use a baudrate above 9600 because ram access will not

    allow a higher throughput anyway. Higher baudrates only consumes extra (background) CPU cycles.

    regards peter
  • dkwondkwon Posts: 13
    edited 2005-10-21 09:12
    I will definitely try this. Come back soon!

    Thanks alot!
Sign In or Register to comment.