Skip to content

Commit

Permalink
xbee joint +25 dBm continuous wave
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Shipman committed Nov 10, 2023
1 parent 48126a8 commit 4a3b2f0
Show file tree
Hide file tree
Showing 8 changed files with 16,419 additions and 16,414 deletions.
Binary file modified Code/XbeeJoint/test/build/CMakeFiles/test.dir/test.cpp.obj
Binary file not shown.
Binary file modified Code/XbeeJoint/test/build/test.bin
Binary file not shown.
27,478 changes: 13,741 additions & 13,737 deletions Code/XbeeJoint/test/build/test.dis

Large diffs are not rendered by default.

Binary file modified Code/XbeeJoint/test/build/test.elf
Binary file not shown.
1,031 changes: 516 additions & 515 deletions Code/XbeeJoint/test/build/test.elf.map

Large diffs are not rendered by default.

4,316 changes: 2,158 additions & 2,158 deletions Code/XbeeJoint/test/build/test.hex

Large diffs are not rendered by default.

Binary file modified Code/XbeeJoint/test/build/test.uf2
Binary file not shown.
8 changes: 4 additions & 4 deletions Code/XbeeJoint/test/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ void radio_spi_init() {
}

void set_radio_packet_type_lora() {
printf("Setting Packet Type to LoRa");
printf("Setting Packet Type to LoRa\n");

gpio_put(cs_pin, 0);
spi_write_blocking(spi, &set_packet_type_cmd, 1);
Expand All @@ -245,8 +245,8 @@ void set_radio_packet_type_lora() {
}

void set_radio_pa_config() {
const uint8_t pa_duty = 0x02;
const uint8_t hp_max = 0x02;
const uint8_t pa_duty = 0x04;
const uint8_t hp_max = 0x07;
const uint8_t device_sel = 0x00;
const uint8_t pa_lut = 0x01;

Expand Down Expand Up @@ -285,7 +285,7 @@ void set_radio_rf_freq() {
}

void set_tx_params() {
const uint8_t power = 0x00;
const uint8_t power = 0x16;
const uint8_t ramp_time = 0x04;

gpio_put(cs_pin, 0);
Expand Down

0 comments on commit 4a3b2f0

Please sign in to comment.