Custom project for driving a STC3100 sensor

Dependencies:   mbed

Fork of STC3100 by Levi Mariën

main.cpp

Committer:
tommienator
Date:
2017-11-04
Revision:
1:dbc1e56be2cc
Parent:
0:014d4be7a437

File content as of revision 1:dbc1e56be2cc:

#include "mbed.h"
#include "STC3100Sensor.h"

int main() {
    
    stc3100Configure();
    
    while(1) {
        
        printf("%f\n", getVoltage());
        
    }
}