./examples/ ├── ArduinoLoRa # Only support SX1276/SX1278 radio module │ ├── LoRaReceiver │ └── LoRaSender ├── Display # Only supports TBeam TFT Shield │ ├── Free_Font_Demo │ ├── TBeam_TFT_Shield │ ├── TFT_Char_times │ └── UTFT_demo ├── GPS # T-Beam GPS demo examples │ ├── TinyGPS_Example │ ├── TinyGPS_FullExample │ ├── TinyGPS_KitchenSink │ ├── UBlox_BasicNMEARead # Only support Ublox GNSS Module │ ├── UBlox_NMEAParsing # Only support Ublox GNSS Module │ ├── UBlox_OutputRate # Only support Ublox GNSS Module │ └── UBlox_Recovery # Only support Ublox GNSS Module ├── LoRaWAN # LoRaWAN examples │ ├── LMIC_Library_OTTA │ └── RadioLib_OTAA ├── OLED │ ├── SH1106FontUsage │ ├── SH1106GraphicsTest │ ├── SH1106IconMenu │ ├── SH1106PrintUTF8 │ ├── SSD1306SimpleDemo │ └── SSD1306UiDemo ├── PMU # T-Beam & T-Beam S3 PMU demo examples ├── RadioLibExamples # RadioLib examples,Support SX1276/78/62/80... │ ├── Receive_Interrupt │ └── Transmit_Interrupt ├── Sensor # Sensor examples,only support t-beams3-supreme │ ├── BME280_AdvancedsettingsExample │ ├── BME280_TestExample │ ├── BME280_UnifiedExample │ ├── PCF8563_AlarmByUnits │ ├── PCF8563_SimpleTime │ ├── PCF8563_TimeLib │ ├── PCF8563_TimeSynchronization │ ├── QMC6310_CalibrateExample │ ├── QMC6310_CompassExample │ ├── QMC6310_GetDataExample │ ├── QMC6310_GetPolarExample │ ├── QMI8658_BlockExample │ ├── QMI8658_GetDataExample │ ├── QMI8658_InterruptBlockExample │ ├── QMI8658_InterruptExample │ ├── QMI8658_LockingMechanismExample │ ├── QMI8658_MadgwickAHRS │ ├── QMI8658_PedometerExample │ ├── QMI8658_ReadFromFifoExample │ └── QMI8658_WakeOnMotion └── T3S3Factory # T3 S3 factory test examples
lib
目录中所有文件夹复制到Sketchbook location
目录,如何找到自己的libraries 位置,请看这里LilyGo-LoRa-Series
examples
ino
结尾的文件utilities.h
文件的上方根据你的板子型号取消注释,否则编译将报错误接入TTN(The Things Network)使用请参考 LilyGo_LoRa_Series_Quick_Start
lilyGo-LoRa/LilyGo-LoRa-Series-master.zip
N.A
// set output power to 10 dBm (accepted range is -17 - 22 dBm)
if (radio.setOutputPower(22) == RADIOLIB_ERR_INVALID_OUTPUT_POWER) {
Serial.println(F("Selected output power is invalid for this module!"));
while (true);
}
// set over current protection limit to 80 mA (accepted range is 45 - 240 mA)
// NOTE: set value to 0 to disable overcurrent protection
if (radio.setCurrentLimit(80) == RADIOLIB_ERR_INVALID_CURRENT_LIMIT) {
Serial.println(F("Selected current limit is invalid for this module!"));
while (true);
}
分辨LoRa的型号只需要查看板子上的贴纸,433MHz则是SX1278,868MHz则是SX1276,如果标签写的是SX1262则是SX1262
周一-周五(9:30-6:30)周六(9:30-5:30)
手机:13434470212
邮箱:services04@spotpear.cn
QQ:202004841