2 hours ago
I'm working on a custom OS in Zig for the PinePhone v1.2b. I am struggling to find some documentation on various parts of the hardware. Today the compass. I tried the I2C address for the AKM compass, and no response, so I am hoping I have the VTC compass, otherwise my TWI1 code is doing something very wrong 
But I dont have the I2C address, and the documentation linked from the component page on the wiki has expired. Can anyone shed some light on this please. A good start would be the I2C address, but a copy of the data sheet would be best please. I am unable to decode linux source tree structure to find this.
Also, are the PinePhone sensors always powered, since DLD01 seems to be used everywhere. For the LCD and touch I had to switch on some pio pins, but I dont see that on schematics, only EINT pins. Iḿ worried about power usage from unused sensors.
I am used to following @lupyuen amazing tutorials, but I think he focuses more on new devices and didnt cover the sensors

But I dont have the I2C address, and the documentation linked from the component page on the wiki has expired. Can anyone shed some light on this please. A good start would be the I2C address, but a copy of the data sheet would be best please. I am unable to decode linux source tree structure to find this.
Also, are the PinePhone sensors always powered, since DLD01 seems to be used everywhere. For the LCD and touch I had to switch on some pio pins, but I dont see that on schematics, only EINT pins. Iḿ worried about power usage from unused sensors.
I am used to following @lupyuen amazing tutorials, but I think he focuses more on new devices and didnt cover the sensors

