camerart
Well-Known Member
Hi,
Here is a program for changing registers on an SX1278 module.
I was helped by having a function routine written for me, but don't fully understand it.
If you run the program in Oshonsoft with the LCD module you should see the first setting=9 then the second setting=136 these are the two changes as seen under GENERAL INITIONALISATION
This works but I can't be sure it is doing what's intended. What is supposed to happen is the result should be SPIsend = 9, which is shown on the LCD but is it actually what would be sent, or just the result of the function.
To further complicate things, I temporarily used the SPIsend result to show on the Oshonsoft LCD that the program is working, but in real life, the LCD should be showing the result from the SPIReceive. (which I'll change later)
I hope this makes sense
Camerart.
Here is a program for changing registers on an SX1278 module.
I was helped by having a function routine written for me, but don't fully understand it.
If you run the program in Oshonsoft with the LCD module you should see the first setting=9 then the second setting=136 these are the two changes as seen under GENERAL INITIONALISATION
This works but I can't be sure it is doing what's intended. What is supposed to happen is the result should be SPIsend = 9, which is shown on the LCD but is it actually what would be sent, or just the result of the function.
To further complicate things, I temporarily used the SPIsend result to show on the Oshonsoft LCD that the program is working, but in real life, the LCD should be showing the result from the SPIReceive. (which I'll change later)
I hope this makes sense
Camerart.