Hi there,
I need a code for 8M2 to read from a GY-63 MS5611 pressure sensor module (see attached spec). The sensor address should be 1110111x. The SCL and SDA outputs have a pull-up of 22K. The CSB pin is at GND while the PS pin is at +5V.
The test code I copied from the manuals is:
hi2csetup i2cmaster, %11101100, i2cslow, i2cbyte
main: do
hi2cin %11101100, (b0,b1,b2,b3,b4,b5,b6,b7)
debug b0
pause 2000
loop
From that code the debug give me 255 (%11111111) for all b0 to b7.
In my opinion only b0-b1 should be read.
Am I wrong?
thanks
I need a code for 8M2 to read from a GY-63 MS5611 pressure sensor module (see attached spec). The sensor address should be 1110111x. The SCL and SDA outputs have a pull-up of 22K. The CSB pin is at GND while the PS pin is at +5V.
The test code I copied from the manuals is:
hi2csetup i2cmaster, %11101100, i2cslow, i2cbyte
main: do
hi2cin %11101100, (b0,b1,b2,b3,b4,b5,b6,b7)
debug b0
pause 2000
loop
From that code the debug give me 255 (%11111111) for all b0 to b7.
In my opinion only b0-b1 should be read.
Am I wrong?
thanks
Attachments
-
582.6 KB Views: 20