View Single Post
  #4   Spotlight this post!  
Unread 15-02-2016, 16:38
aeastet aeastet is offline
Programming Mentor
AKA: Tim Easterling
FRC #6043 (Allegan Tigers Robotics)
Team Role: Coach
 
Join Date: Jan 2015
Rookie Year: 2011
Location: Holland, MI
Posts: 116
aeastet is an unknown quantity at this point
Re: Auxiliary Lighting W/ Encoders

Okay so if I am understanding you correctly you are telling me about software LED and not hardware LED's correct?

These software LED's should have nothing to do with Encoders unless you somehow use the encoder input to drive a light. There are encoder examples int he LabVIEW help file that should get you started with encoders. Generally encoders will have four wires. They will need to be connected to two DI on the RoboRio. There will be a +5VDC and 0VDC and two signal wires. Each Signal wire should go to a different DIO channel (i.e. DIO 0 and DIO 1). From there you will need to set them up in the begin file and then you need to read them in your code.

I hope this helps as I am really not understand exactly what you are trying to do. You should not need a launchpad or Arduino to get an encoder to work on your robot.
Reply With Quote