Salinity and temperature sensors are implemented in classes.

Dependencies:   mbed

Committer:
mariosimaremare
Date:
Thu Jun 02 17:53:02 2016 +0000
Revision:
0:ad9362f18797
Salinity and temperature sensors are implemented in classes.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mariosimaremare 0:ad9362f18797 1 #include "Waterplay.h"
mariosimaremare 0:ad9362f18797 2 #include "mbed.h"
mariosimaremare 0:ad9362f18797 3
mariosimaremare 0:ad9362f18797 4 Waterplay::Waterplay(mbed::Serial &serial):_serial(serial)
mariosimaremare 0:ad9362f18797 5 {
mariosimaremare 0:ad9362f18797 6 _serial.printf("init\n\r");
mariosimaremare 0:ad9362f18797 7 }
mariosimaremare 0:ad9362f18797 8
mariosimaremare 0:ad9362f18797 9
mariosimaremare 0:ad9362f18797 10
mariosimaremare 0:ad9362f18797 11
mariosimaremare 0:ad9362f18797 12
mariosimaremare 0:ad9362f18797 13 void Waterplay::calculate(int n)
mariosimaremare 0:ad9362f18797 14 {
mariosimaremare 0:ad9362f18797 15 _serial.printf("calculate\n\r");
mariosimaremare 0:ad9362f18797 16 }