mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 04:57:30 +03:00
Fixing Build errors
Signed-off-by: Abhishek Malik <abhishek.malik@intel.com>
This commit is contained in:
parent
e211f82f6c
commit
af417d3ae1
@ -26,7 +26,9 @@
|
||||
#include <unistd.h>
|
||||
#include <iostream>
|
||||
#include <iomanip>
|
||||
#include "grove.hpp"
|
||||
#include "temperature.hpp"
|
||||
|
||||
using namespace std;
|
||||
|
||||
int
|
||||
main(int argc, char **argv)
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include <unistd.h>
|
||||
#include "grovemoisture.h"
|
||||
|
||||
void main(void)
|
||||
int main()
|
||||
{
|
||||
grovemoisture_context dev = grovemoisture_init(14);
|
||||
int val;
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include <unistd.h>
|
||||
#include "tsl2561.h"
|
||||
|
||||
void main(void)
|
||||
int main()
|
||||
{
|
||||
tsl2561_context dev = tsl2561_init(0, TSL2561_Address, GAIN_0X, INTEGRATION_TIME1_101MS);
|
||||
float abc = 0;
|
||||
|
@ -38,7 +38,7 @@ add_example(Emg emg)
|
||||
add_example(Gsr gsr)
|
||||
add_example(GroveLed_multiSample grove)
|
||||
add_example(GroveLEDSample grove)
|
||||
add_example(LightSample grove)
|
||||
add_example(LightSample light)
|
||||
add_example(GroveLineFinderSample grovelinefinder)
|
||||
add_example(GroveMDSample grovemd)
|
||||
add_example(GroveMoistureSample grovemoisture)
|
||||
@ -49,7 +49,7 @@ add_example(GroveQTouch at42qt1070)
|
||||
add_example(GroveRelaySample grove)
|
||||
add_example(GroveRotarySample grove)
|
||||
add_example(GROVESCAMSample grovescam)
|
||||
add_example(SlideSample grove)
|
||||
add_example(SlideSample slide)
|
||||
add_example(GroveSpeakerSample grovespeaker)
|
||||
add_example(TemperatureSample temperature)
|
||||
add_example(VDivSample vdiv)
|
||||
|
@ -31,6 +31,7 @@
|
||||
#include "temperature.hpp"
|
||||
#include "math.h"
|
||||
|
||||
using namespace std;
|
||||
using namespace upm;
|
||||
|
||||
Temperature::Temperature(unsigned int pin, float scale, int r0, int b)
|
||||
|
Loading…
x
Reference in New Issue
Block a user