temperature: added C sources and removed grove dependency

Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
Mihai Tudor Panu
2016-09-09 18:33:30 -07:00
committed by Noel Eck
parent af61f51e48
commit 67d01a9393
16 changed files with 472 additions and 10 deletions

View File

@ -51,7 +51,7 @@ add_example(GroveRotarySample grove)
add_example(GROVESCAMSample grovescam)
add_example(SlideSample grove)
add_example(GroveSpeakerSample grovespeaker)
add_example(GroveTempSample grove)
add_example(TemperatureSample temperature)
add_example(VDivSample vdiv)
add_example(GroveWaterSample grovewater)
add_example(GroveWFSSample grovewfs)

View File

@ -22,10 +22,10 @@
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
public class GroveTempSample {
public class TemperatureSample {
public static void main (String args[]) throws InterruptedException {
//! [Interesting]
upm_grove.GroveTemp temp = new upm_grove.GroveTemp(3);
upm_temperature.Temperature temp = new upm_temperature.Temperature(3);
for (int i = 0; i < 10; ++i) {