I am looking for a remote controlled relay that has an adjustable trigger point. Does the ServoSwitch v10 have the ability to have the trigger point modified?
For example, I want to hook 2 switches up on the same throttle channel and one triggers at >30% and the second at >70% throttle.
I would also like 2 more switches to be triggered at <30% and >70%.
Any info would be appreciated.
Replies
#define MUX_ATMEGA_CONTROL (PORTB |= (1 << 1)) //PB01 used to control the multiplexor
#define MUX_RADIO_CONTROL (PORTB &= ~(1 << 1))
#define LED_ON (PORTB |= (1 << 3)) //PB03 mode (LED control)...
#define LED_OFF (PORTB &= ~(1 << 3))
#define ATMEGA_RUN (PORTB |= (1 << 4))
#define ATMEGA_RESET (PORTB &= ~(1 << 4))
#define REMOTE_CONTROL_REQUEST (PINB & (1 << 2)) //Pin that read the RC signal (PWM)
#define TOGGLE_DELAY 0 //Delay to toggle the switch, useful when using noisy radios.
#define LIMIT 300 //time
#define TRIGGER_AMOUNT 25 //Number of switches you need to do, to reset...
#define RESET_TIME 150 //
#define VALID_FRAMES_REQUIERED 25