From 276856de6c63bbbf3e56cc08dcca00ba10080b7e Mon Sep 17 00:00:00 2001 From: Sadeep Madurange Date: Sun, 7 Sep 2025 17:04:34 +0800 Subject: Door lock with MOSFETs and and without RFM. --- lock/nrfm.h | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 lock/nrfm.h (limited to 'lock/nrfm.h') diff --git a/lock/nrfm.h b/lock/nrfm.h deleted file mode 100644 index 52d4edb..0000000 --- a/lock/nrfm.h +++ /dev/null @@ -1,21 +0,0 @@ -#ifndef NRFM_H -#define NRFM_H - -#include - -#define ADDRLEN 3 -#define MAXPDLEN 32 - -void radio_init(const uint8_t rxaddr[ADDRLEN]); - -void radio_listen(void); - -void radio_pwr_dwn(void); - -uint8_t radio_recv(char *buf, uint8_t n); - -void radio_flush_rx(void); - -uint8_t radio_sendto(const uint8_t addr[ADDRLEN], const char *msg, uint8_t n); - -#endif /* NRFM_H */ -- cgit v1.2.3