![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
REV1
Dependencies: KellerDruck_pressure PID PWM-Coil-driver Sensirion_SF04 VL6180
Fork of TestBenchFlow by
Diff: main.h
- Revision:
- 7:a9cb04819d76
- Parent:
- 6:330773526c35
--- a/main.h Mon Jul 31 16:25:47 2017 +0000 +++ b/main.h Mon Jul 31 21:02:18 2017 +0000 @@ -20,10 +20,10 @@ }; //I2CPreInit gI2C1(I2C_SDA, I2C_SCL, I2C frequency); -I2CPreInit i2c1(PB_9, PB_8, 100000); +I2CPreInit i2c2(PB_4, PA_8, 100000); // Sensirion gas flow sensor object (i2c object, i2c address, calibration field, resolution 9-16 bit) -SF04 mainflow(i2c1, MAINFLOW_ADDR, 0, 16); // Gas flow sensor (SFM7033) +SF04 mainflow(i2c2, MAINFLOW_ADDR, 0, 16); // Gas flow sensor (SFM7033) #endif \ No newline at end of file