This code holds the complete demo set for the sx1280: PingPong, PER and Ranging Outdoor demo application. >>>>> This code MUST run on the mbed library release 127 or everything will be painfully slow.

Dependencies:   mbed SX1280Lib DmTftLibrary

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers FreqLUT.h Source File

FreqLUT.h

00001 #define CHANNELS 40
00002 
00003 /*
00004  * Frequency look up table :
00005  * To avoid Wifi channels, 40 Bluetooth channels are defined below (they already
00006  * avoid Wifi common channels) : from 2402 MHz to 2480 MHz, step 2 MHz.
00007  * User can define channel count for Ranging run, and it is optimized to have
00008  * several frequencies in the largest band as possible. Also the 40 frequencies 
00009  * are generated by random sorting to preferate the 10 first in the largest band
00010  * as possible (10 is the shortest channel count the user can choose).
00011  */
00012 const uint32_t Channels[] =
00013 {
00014  2450000000,
00015  2402000000,
00016  2476000000,
00017  2436000000,
00018  2430000000,
00019  2468000000,
00020  2458000000,
00021  2416000000,
00022  2424000000,
00023  2478000000,
00024  2456000000,
00025  2448000000,
00026  2462000000,
00027  2472000000,
00028  2432000000,
00029  2446000000,
00030  2422000000,
00031  2442000000,
00032  2460000000,
00033  2474000000,
00034  2414000000,
00035  2464000000,
00036  2454000000,
00037  2444000000,
00038  2404000000,
00039  2434000000,
00040  2410000000,
00041  2408000000,
00042  2440000000,
00043  2452000000,
00044  2480000000,
00045  2426000000,
00046  2428000000,
00047  2466000000,
00048  2418000000,
00049  2412000000,
00050  2406000000,
00051  2470000000,
00052  2438000000,
00053  2420000000,
00054 };