Update main.c

pull/1/head
alanbjohnston 7 years ago committed by GitHub
parent 998802ab40
commit 2ca3ec5777
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -120,6 +120,8 @@ int main(void) {
printf("TLM 3A = %d \n", tlm_3a);
printf("Config = %d %x \n", config, config);
// Read current from I2C bus
i2cDevice = wiringPiI2CSetup (0x40) ;
result = wiringPiI2CWriteReg16(i2cDevice, 0x00, config);

Loading…
Cancel
Save

Powered by TurnKey Linux.