alpahsense
Dependents: Example_DS3231_test
Alphasense.h@0:ed1f58bf0dc3, 2019-03-06 (annotated)
- Committer:
- etiene32
- Date:
- Wed Mar 06 14:01:39 2019 +0000
- Revision:
- 0:ed1f58bf0dc3
sd
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
etiene32 | 0:ed1f58bf0dc3 | 1 | #include "mbed.h" |
etiene32 | 0:ed1f58bf0dc3 | 2 | |
etiene32 | 0:ed1f58bf0dc3 | 3 | class ALPHASENSE { |
etiene32 | 0:ed1f58bf0dc3 | 4 | public: |
etiene32 | 0:ed1f58bf0dc3 | 5 | ALPHASENSE(I2C* i2c, int num_chan_op1, int num_chan_op2, int we0, int ae0, int sensitivity, int n_sample); |
etiene32 | 0:ed1f58bf0dc3 | 6 | float measure(); |
etiene32 | 0:ed1f58bf0dc3 | 7 | |
etiene32 | 0:ed1f58bf0dc3 | 8 | protected: |
etiene32 | 0:ed1f58bf0dc3 | 9 | I2C* _i2c; |
etiene32 | 0:ed1f58bf0dc3 | 10 | |
etiene32 | 0:ed1f58bf0dc3 | 11 | private: |
etiene32 | 0:ed1f58bf0dc3 | 12 | int _num_chan_op1; |
etiene32 | 0:ed1f58bf0dc3 | 13 | int _num_chan_op2; |
etiene32 | 0:ed1f58bf0dc3 | 14 | int _we0; |
etiene32 | 0:ed1f58bf0dc3 | 15 | int _ae0; |
etiene32 | 0:ed1f58bf0dc3 | 16 | int _sensitivity; |
etiene32 | 0:ed1f58bf0dc3 | 17 | int _n_sample; |
etiene32 | 0:ed1f58bf0dc3 | 18 | }; |