Skip to content

Wrong australian frequencies #42

@AtoLrn

Description

@AtoLrn

There is a problem in the comment and in the order of the frequencies for AS920

The comment is not right for the calculation and so, the order neither.

The fix could be this one:

#ifdef AS920
const unsigned char PROGMEM TinyLoRa::LoRa_Frequency[8][3] = {
    {0xE6, 0x80,
     0x27} // Channel 0 922.000 MHz / 61.035 Hz = 15106087 = 0xE68027
    {0xE6, 0x8C,
     0xF3}, // Channel 1 922.200 MHz / 61.035 Hz = 15109363 = 0xE68CF3
    {0xE6, 0x99,
     0xC0}, // Channel 2 922.400 MHz / 61.035 Hz = 15112640 = 0xE699C0
    {0xE6, 0xA6,
     0x8D}, // Channel 3 922.600 MHz / 61.035 Hz = 15115917 = 0xE6A68D
    {0xE6, 0xB3,
     0x5A}, // Channel 4 922.800 MHz / 61.035 Hz = 15119194 = 0xE6B35A
    {0xE6, 0xC0,
     0x27}, // Channel 5 923.000 MHz / 61.035 Hz = 15122471 = 0xE6C027
    {0xE6, 0xCC,
     0xF4}, // Channel 6 923.200 MHz / 61.035 Hz = 15125748 = 0xE6CCF4
    {0xE6, 0xD9,
     0xC0}, // Channel 7 923.400 MHz / 61.035 Hz = 15129024 = 0xE6D9C0
};
#endif

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions