9 namespace lightwaverf {
18 static const uint8_t TX_PIN_DEFAULT = 13;
26 void lwtx_set_tick_counts(uint8_t low_count, uint8_t high_count, uint8_t trail_count, uint8_t gap_count);
38 void lwtx_send(
const std::vector<uint8_t> &msg);
44 void lwtx_cmd(uint8_t command, uint8_t parameter, uint8_t room, uint8_t device);
static const uint8_t TX_MSGLEN
void lwtx_settranslate(bool txtranslate)
Set translate mode.
void lwtx_set_gap_multiplier(uint8_t gap_multiplier)
void lwtx_set_tick_counts(uint8_t low_count, uint8_t high_count, uint8_t trail_count, uint8_t gap_count)
uint8_t tx_gap_multiplier
uint8_t tx_buf[TX_MSGLEN]
void lwtx_setaddr(const uint8_t *addr)
Set 5 char address for future messages.
Implementation of SPI Controller mode.
void lwtx_cmd(uint8_t command, uint8_t parameter, uint8_t room, uint8_t device)
Send a LightwaveRF message (10 nibbles in bytes)
void lwtx_setup(InternalGPIOPin *pin, uint8_t repeats, bool inverted, int u_sec)
Set things up to transmit LightWaveRF 434Mhz messages.
bool lwtx_free()
Check for send free.
void lwtx_send(const std::vector< uint8_t > &msg)
Send a LightwaveRF message (10 nibbles in bytes)