Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BufferedSerial SX1276GenericLib mbed USBDeviceHT
main.cpp
00001 /* 00002 * Copyright (c) 2018 HELIOS Software GmbH 00003 * 30826 Garbsen (Hannover) Germany 00004 * Licensed under the Apache License, Version 2.0); 00005 */ 00006 #include "main.h" 00007 00008 00009 DigitalOut led(LED); 00010 00011 00012 int main() { 00013 /* 00014 * inits the Serial or USBSerial when available (230400 baud). 00015 * If the serial uart is not is not connected it swiches to USB Serial 00016 * blinking LED means USBSerial detected, waiting for a connect. 00017 * It waits up to 30 seconds for a USB terminal connections 00018 */ 00019 InitSerial(30*1000, &led); 00020 dprintf("Welcome to the SX1276GenericLib"); 00021 00022 dprintf("Starting a simple LoRa PingPong"); 00023 00024 SX1276PingPong(); 00025 }
Generated on Fri Jul 15 2022 00:33:04 by
1.7.2
