This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
No need for little / big endian byte swapping | |
this is already done by the group input/output ordening | |
GI.. expect byte array | |
..GI return byte array | |
""" | |
import struct |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* @title: WdKA RFID Workshop Mifare RFID movie trigger gist | |
* @author: Simon de Bakker <simon@simbits.nl> | |
*/ | |
import processing.serial.*; | |
import processing.video.*; | |
Serial myPort; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* @title: WdKA RFID Workshop Mifare RFID image trigger gist | |
* @author: Simon de Bakker <simon@simbits.nl> | |
*/ | |
// import libraries for serial communication and video | |
import processing.serial.*; | |
import processing.video.*; | |
// create a serial port object |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* @title: WdKA RFID Workshop Mifare RFID movie trigger gist | |
* @author: Simon de Bakker <simon@simbits.nl> | |
*/ | |
import processing.serial.*; | |
import processing.video.*; | |
Serial myPort; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* @title: WdKA RFID Workshop StrongLink SL030 RFID reader sample gist | |
* @author: Simon de Bakker <simon@simbits.nl> | |
* @see: http://www.stronglink.cn/english/sl030.htm | |
* | |
* Mapping from Arduino UNO to Stronglink SL030: | |
* | |
* Arduino UNO - SL030 | |
* 3V3 - VCC 1 | |
* A4 - SDA 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/************************************************************/ | |
/* Sample useless machine code */ | |
/* WdKA basic arduino workshop */ | |
/* */ | |
/* Part 3: Light, switch and servo */ | |
/* Simon de Bakker <simon@simbits.nl> */ | |
/************************************************************/ | |
/* import routines used to control a servo */ | |
#include <Servo.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/************************************************************/ | |
/* Sample useless machine code */ | |
/* WdKA basic arduino workshop */ | |
/* */ | |
/* Part 2: Light and Switch */ | |
/* Simon de Bakker <simon@simbits.nl> */ | |
/************************************************************/ | |
/* pin definitions (what is connected to which arduino pin) */ | |
#define LED_PIN 12 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/************************************************************/ | |
/* Sample useless machine code */ | |
/* WdKA basic arduino workshop */ | |
/* */ | |
/* Part 1: Light an LED */ | |
/* Simon de Bakker <simon@simbits.nl> */ | |
/************************************************************/ | |
/* pin definitions (what is connected to which arduino pin) */ | |
#define LED_PIN 12 |