|
@@ -219,11 +219,11 @@ main(void) |
|
|
|
|
|
|
|
|
usb_printf("gs: %#x\r\n", Radio.GetStatus()); |
|
|
usb_printf("gs: %#x\r\n", Radio.GetStatus()); |
|
|
|
|
|
|
|
|
usb_printf("set modem\r\n", v); |
|
|
|
|
|
|
|
|
usb_printf("set modem\r\n"); |
|
|
Radio.SetModem(MODEM_LORA); |
|
|
Radio.SetModem(MODEM_LORA); |
|
|
|
|
|
|
|
|
usb_printf("check rffreq: %d\r\n", (int)Radio.CheckRfFrequency(914350 * 1000)); |
|
|
usb_printf("check rffreq: %d\r\n", (int)Radio.CheckRfFrequency(914350 * 1000)); |
|
|
usb_printf("set channel\r\n", v); |
|
|
|
|
|
|
|
|
usb_printf("set channel\r\n"); |
|
|
Radio.SetChannel(914350 * 1000); |
|
|
Radio.SetChannel(914350 * 1000); |
|
|
|
|
|
|
|
|
v = Radio.Random(); |
|
|
v = Radio.Random(); |
|
|