Skip to content

Instantly share code, notes, and snippets.

@miho
Forked from mschmitt/virtualwall_irremote.pde
Created October 13, 2017 18:46
Show Gist options
  • Save miho/9682453b3faf617ef189ba796aab8e5f to your computer and use it in GitHub Desktop.
Save miho/9682453b3faf617ef189ba796aab8e5f to your computer and use it in GitHub Desktop.
A trivial Arduino sketch to mimic iRobot Virtual Wall for Roomba
/*
A trivial Arduino sketch to mimic iRobot Virtual Wall for Roomba
----------------------------------------------------------------
Based on information found at:
http://sites.google.com/site/irobotcreate2/createanirbeacon
Uses "A Multi-Protocol Infrared Remote Library for the Arduino":
http://www.arcfn.com/2009/08/multi-protocol-infrared-remote-library.html
*/
#include <IRremote.h>
// Instantiate IRremote on Pin 3.
IRsend irsend;
void setup()
{
irsend.enableIROut(38);
}
void loop()
{
irsend.mark(1000);
irsend.space(1000);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment