View Single Post
  #2   Spotlight this post!  
Unread 17-01-2016, 10:16
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 542
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Re: Java SerialPort kUsb

Took me a few seconds to find this

Quote:

'Bump' posts, or anything similar, are not allowed and will be deleted without notice
Judging from that error, your connection between the arduino and rio is bad.

Also, an easy option to fix all of this is to use a series of dio ports and just using that set of data as preconfigured commands (e.g, 0010 - flash red quickly)

If this isn't good enough, than as a temporary fix you can wrap the arduino write commands in a thread that just reads from a command queue.
__________________
FRC Team 1684 - Head Programmer (2013-2016)
FRC Team 5460 - Programming Mentor (2015-2016)

FIRST in Michigan - Technical Crew (2015-continuing)

Last edited by Arhowk : 17-01-2016 at 10:18.
Reply With Quote