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
One-evening hacking for Rev remote controlled power outlet. | |
The transmitter sends long and short pulses for certain bit length (probably 25 bits). | |
UPDATD: Oscilloscoped from tx data pin (FOUND THEM!) | |
(Chan1 off) = 0101110111010100000011000 | |
(Chan1 on) = 0101110111010100000000110 | |
Short pulse=320us |
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
Steps: | |
1. You need XCode developer tools (to get g++) | |
2. Below you can find the Makefile I'm using which on my system works. The paths are nasty hacks, but feel free to modify them.. | |
3. make binary can be found from "/Applications/Xcode.app/Contents/Developer/usr/bin//make" | |
4. I hacked missing LONG_LONG_MAX by defining it in main.cpp as | |
#ifndef LONG_LONG_MAX | |
#define LONG_LONG_MAX LLONG_MAX | |
#endif | |
5. Copy compiled binary to "/Applications/Cura/Cura.app/Contents" to make Cura to use it |
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
Date time=[2013/03/15-10:43:16];date time setting,format yyyy/mm/dd hh:mm:ss, | |
Movie resolution=[0];Movie resolution setting,0:720p 30fps,1:wvga 30fps,2:vga 30fps, | |
Movie cycle time=[1];movie cycle time,0:5 minutes,1:20 minutes,2:40 minutes,3: 70 minutes, | |
movie Loop Recording=[0];set loop recording on or off,0:off,1:on, | |
Movie stamp=[0];set date / time stamp on or off,0:off,1:on, | |
Movie sound=[2];set movie sound,0:mute,1:level 1,2:level 2,3:level 3, | |
LED=[0];set LED flicker when recording,0:off,1:on, | |
Movie quality=[1];set movie quality,set movie data rate,0:10 Mbps,1:7 Mbps, | |
Power off=[1];set system auto power off time when system pending,0:off,1:30 seconds,2:1 minutes,3:2 minutes, | |
Movie Flip=[0];set movie rotate,0:off,1:on, |
NewerOlder