#This library compiles for STM32 and RP2040 but not Arduino AVR like Nano
to add support one has to figure out how to pass a non-static class member with this object to the attachInterupt
function.
other repos for future reference
https://github.com/maniacbug/StandardCplusplus
https://github.com/kekyo/BoostForArduino
https://github.com/vancegroup/arduino-boost
https://github.com/Stivius/callable-wrapper
https://github.com/fopeczek/function_objects
https://github.com/danyhm/functional
I could get std::bind to work on Arduino Nano however I can't convert it back to c style function pointer.
It seems it's possible to do it using boost library. however i couldn't get it to compile on Arduino.
another method is to change Arduino Core files to implement attachInterruptEx or attachInterruptParam
Use your Arduino or Raspberry Pi to operate remote radio controlled devices
https://github.com/sui77/rc-switch/releases/latest
rc-switch is also listed in the arduino library manager.
https://github.com/sui77/rc-switch/wiki
Use your Arduino or Raspberry Pi to operate remote radio controlled devices. This will most likely work with all popular low cost power outlet sockets. If yours doesn't work, you might need to adjust the pulse length.
All you need is a Arduino or Raspberry Pi, a 315/433MHz AM transmitter and one or more devices with one of the supported chipsets:
- SC5262 / SC5272
- HX2262 / HX2272
- PT2262 / PT2272
- EV1527 / RT1527 / FP1527 / HS1527
- Intertechno outlets
- HT6P20X
Find out what codes your remote is sending. Use your remote to control your Arduino.
All you need is an Arduino, a 315/433MHz AM receiver (altough there is no instruction yet, yes it is possible to hack an existing device) and a remote hand set.
For the Raspberry Pi, clone the https://github.com/ninjablocks/433Utils project to compile a sniffer tool and transmission commands.