Color sensor reset at the end of calibration added. sensor id auto assignment was changed to be a fixed value assignment to avoid sensor id shift when some sensor is absent.

Dependencies:   UniGraphic mbed vt100

sensors/PSE530.h

Committer:
Rhyme
Date:
2018-02-23
Revision:
0:ce97f6d34336

File content as of revision 0:ce97f6d34336:

#ifndef _PSE530_H_
#define _PSE530_H_
#include "mbed.h"

/**
 * PSE530 Pressure Sensor
 */

class PSE530 {
public:
/**
 * Constructor
 */
    PSE530(AnalogIn *ain) ;

/**
 * destructor
 */
    ~PSE530(void) ;
    
/**
 * getPressure
 * @returns float pressure in kgf/cm2
 */
    float getPressure(void) ;
private:
    AnalogIn *_ain ;
} ;

#endif /* _PSE530_H_ */