Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Clutch and Brake Wear Monitoring */
- #include <SPI.h>
- #include <nRF24L01.h>
- #include <RF24.h>
- RF24 radio(53, 48); // CE, CSN
- const byte address[6] = "00001";
- void setup() {
- radio.begin();
- radio.openWritingPipe(address);
- radio.setPALevel(RF24_PA_MIN);
- radio.stopListening();
- }
- void loop() {
- const char text[] = "1NO";
- radio.write(&text, sizeof(text));
- delay(1000);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement