Hi J,
I realised that my version of the for/next loops aren't correct!
Yes, SENDing an address to BMP280 and then doing SPI-RECEIVE, we get a value from that address, is true.
I found by experiment, that the CS needs to be between each SEND/RECEIVE, I can try taking it out later, once it's running. The D/S suggests 'burst READ' but I couldn't get it to work.
I don't think I've used your elegant way of b(i) to save a long program list before, so I bow to your experience.
How I see it is, that '0x88 +1 is, SEND/RECEIVE, then repeats the same 23 times. I'll continue to use the LOOPs as you suggest, till told otherwise.
For i = 0 To 23
SPISend 0x88 + i
SPIReceive data
b(i) = data
Next i
OK, regarding the '*256' I'll remove them.
I did reverse the 0xf7 TEMP LOOP and 0xfa PRESS LOOP, will you let me know if I'm correct, please?
NOTE: This is quite advanced for me, but I'm enjoying it, I hope you are too, and I'm sure we'll succeed.
C.