Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <VirtualWire.h>
- char msg[6];
- void setup() {
- vw_setup(2000);
- vw_set_tx_pin(12);
- }
- void loop() {
- float temperatura = 17;
- dtostrf(temperatura, 6, 2, msg);
- vw_send((uint8_t *)msg, strlen(msg));
- vw_wait_tx();
- delay(200);
- }
Advertisement
Add Comment
Please, Sign In to add comment