Pages: [1]   Go Down
Author Topic: FIRST ftc IR beacon.  (Read 450 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey guys, I am working on an autonomous program for my FTC teams robot and for this I need an IR beacon.  We are using the Lego IR Seeker v2 which needs a 1200 Hz square wave signal.  I want to use an Arduino because it is the easiest way even though it is probably overkill.  I have some normal IR LEDs and I was wondering if I this code would make the LED do what I need it to.

Code:
tone(4,1200);

Is that the only code I would need?  Thanks in advance!
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Can anyone help?
Logged

Pages: [1]   Go Up
Jump to: