mirror of
https://github.com/eclipse/upm.git
synced 2025-07-03 02:11:15 +03:00
Examples: Removing MRAA reference from examples
Signed-off-by: Abhishek Malik <abhishek.malik@intel.com>
This commit is contained in:
@ -28,13 +28,14 @@
|
||||
#include "t6713.hpp"
|
||||
#include "upm_utilities.h"
|
||||
|
||||
#define FT4222_I2C_BUS 0
|
||||
#define FT4222_I2C_BUS 0
|
||||
#define DEFAULT_I2C_BUS 0
|
||||
|
||||
int
|
||||
main()
|
||||
{
|
||||
//! [Interesting]
|
||||
upm::T6713 cO2Sensor(mraa_get_sub_platform_id(FT4222_I2C_BUS));
|
||||
upm::T6713 cO2Sensor(DEFAULT_I2C_BUS);
|
||||
|
||||
while (true) {
|
||||
uint16_t value = cO2Sensor.getPpm();
|
||||
|
Reference in New Issue
Block a user