camerart
Well-Known Member
Hi E,hi C,
Which is correct.?
get_alt:
'Gosub get_neo 'Reads NMEA DATA<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
PORTD.4 = 1 'CHIP SELECT 5110 OFF
WaitMs 10 'Does CS need time to switch? [SHORTEN OR REMOVE THIS LINE]
PORTD.5 = 0 'CHIP SELECT PRESS ON
SPICSOn
SPISend 0x74 'WRITE 0xF4 Control reg addr
To write to an address, 'say' 0xF4 bit 7 needs to be removed leaving 0x74. See attached in RED:
Note, we spoke about 'burst reading'. In the BLUE box, it says that the register address is incremented. I'll have to read it a few times, to follow.
C.