Add documentation PDFs

This commit is contained in:
Leonora Tindall 2019-12-29 12:12:03 -08:00
parent a160d5902d
commit 610ee12ebc
Signed by: nora
GPG Key ID: 7A8B52EC67E09AAF
3 changed files with 9 additions and 2 deletions

View File

@ -25,10 +25,17 @@ fn main() {
let mut txvr = Rn2903::new_at("/dev/ttyUSB0") let mut txvr = Rn2903::new_at("/dev/ttyUSB0")
.expect("Could not open device. Error"); .expect("Could not open device. Error");
loop { loop {
txvr.transact(b"radio set pindig GPIO10 0").unwrap(); txvr.transact(b"sys set pindig GPIO10 0").unwrap();
thread::sleep(Duration::from_millis(1000)); thread::sleep(Duration::from_millis(1000));
txvr.transact(b"radio set pindig GPIO10 1").unwrap(); txvr.transact(b"sys set pindig GPIO10 1").unwrap();
thread::sleep(Duration::from_millis(1000)); thread::sleep(Duration::from_millis(1000));
} }
} }
``` ```
## Module Documentation
This repository reproduces the relevant documents for the RN2903 module at
[command_reference-40001811B.pdf](docu/command_reference-40001811B.pdf) and
[datasheet-DS5000239H.pdf](docu/datasheet-DS5000239H.pdf).

Binary file not shown.

Binary file not shown.