Go to Post ..this is the first robot we've built that succeeded at everything we wanted it to. It was simple. It was low maintenance. It scored effectively. It had an autonomous that worked. Its look caught attention. And it was finished on schedule. - Donut [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Spotlight this post!  
Unread 28-04-2013, 09:22
nathanwalters nathanwalters is offline
Registered User
FRC #0111 (WildStang)
Team Role: Alumni
 
Join Date: Dec 2011
Rookie Year: 2011
Location: United States
Posts: 75
nathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud ofnathanwalters has much to be proud of
Re: Unable to find this, ANYWHERE - LED PROGRAMMING

My team (WildStang) set up an I2C link between the cRIO and an Arduino serving as the LED controller. In our cRIO code, we had a class that watched for events of interest, such as our kicker firing or intake motors turning on, as well as the robot state and alliance color. Upon those events, we sent a series of bytes indicating which event just took place to the Arduino. The Arduino watched for said bytes, and when it got them it illuminated the LEDs in a predefined pattern. We plan on releasing our code base at some point this year, so you'll be able to see exactly how we did this (we also used Java.)
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 12:00.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi