Skip to content

Commit

Permalink
Doc
Browse files Browse the repository at this point in the history
  • Loading branch information
pu2clr committed Jul 14, 2024
1 parent a53ec17 commit 2b3b2d3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Binary file modified .DS_Store
Binary file not shown.
11 changes: 5 additions & 6 deletions examples/01_SERIAL_MONITOR/B_TX/B_TX.ino
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ void setup() {
}

dv.setup();
delay(2000);
Serial.print("\nStarting the system.");
delay(4000);
dv.setTX(FREQ);
dv.setTxOffAfterOneMinuteNoAudio(false); // The trasmitter will never sleep.
dv.setPAC(56); // PA output power target is 0.91*PA_TRGT+70.2dBu. Valid values are 24-56.
Expand All @@ -63,12 +64,10 @@ void setup() {
Serial.print(str);

analogWrite(9, 50); // It is about 1/5 of the max power. It is between 1 and 1,4 W

sprintf(str, "\n\nSYSTEM1: %X (Hex)\nSYSTEM2: %X (Hex)", dv.getRegister(QN_SYSTEM1), dv.getRegister(QN_SYSTEM2));
Serial.print(str);

}


void loop() {
sprintf(str,"\nTop FSM state code: %d", dv.getStatus1().arg.FSM);
Serial.print(str);
delay(15000);
}

0 comments on commit 2b3b2d3

Please sign in to comment.