Posted: Tue Dec 21, 2021 3:14 pm Post subject: Previous versions were compiled, the latest one was not. But
When the RFM12B modules appeared on the market, I found the program shared in the link below. It worked great, transmitting signals from a thermometer in a foil tent to my house.
Then I took it apart, it rested in a drawer for a long time, now I need the circuit again. I updated the original program to another processor, but the current Bascom version (2.0.8.4) cannot compile it.
In the past this was not a problem.
For I =1To Payload_size
Rfm12_rx_wait
If Timeout =0Then Set Rx_led
Set Error_led
ExitFor End If
Rfm12_spi_wrt
Rxarray(i)= Spi_rx_l ' <<<<<<<<<<<< Error 380 here Next I
Rxarray(i)=0' <<<<<<<<<<<< Error 380 here
Rfm12_clear_fifo
Set Rx_led
EndSub
I have remarked the two problematic lines.
This was the only published program that was guaranteed to work with the module, for the others the reception did not work.
I remember how many days I spent with it before it worked. But why Bascom doesn't translate these three lines now is a mystery to me.
Maybe, some kind of problem with the array handling, I think. I'm confused...
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum