EasyManuals Logo

UUGear Witty Pi 3 User Manual

UUGear Witty Pi 3
38 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #33 background imageLoading...
Page #33 background image
30
Below is an example to read the register at address 7, to know the current power mode (0x00 means
input 5V via the micro USB connector):
And below is an example to write the register at address 11, to set the pulsing interval to 1 second
(using value 6):
Remarks: although the register at address 9 is writable, changing the I2C slave address is more
than writing an I
2
C register. You will need to modify the software accordingly (change the
I2C_MC_ADDRESS value in utilities.sh file), and reconnect the power supply to make it work.
pi@raspberrypi ~ $ i2cget -y 1 0x69 7
0x00
pi@raspberrypi ~ $
pi@raspberrypi ~ $ i2cset -y 1 0x69 11 6
pi@raspberrypi ~ $

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the UUGear Witty Pi 3 and is the answer not in the manual?

UUGear Witty Pi 3 Specifications

General IconGeneral
BrandUUGear
ModelWitty Pi 3
CategoryControl Unit
LanguageEnglish