2014-06-13 16:44:48 +01:00
|
|
|
/*
|
|
|
|
* Author: Brendan Le Foll <brendan.le.foll@intel.com>
|
|
|
|
* Copyright (c) 2014 Intel Corporation.
|
|
|
|
*
|
2019-07-30 19:41:32 -07:00
|
|
|
* This program and the accompanying materials are made available under the
|
|
|
|
* terms of the The MIT License which is available at
|
|
|
|
* https://opensource.org/licenses/MIT.
|
2014-06-13 16:44:48 +01:00
|
|
|
*
|
2019-07-30 19:41:32 -07:00
|
|
|
* SPDX-License-Identifier: MIT
|
2014-06-13 16:44:48 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include <iostream>
|
|
|
|
|
|
|
|
//! [Interesting]
|
2016-04-25 14:27:51 -07:00
|
|
|
#include "max31855.hpp"
|
2014-06-13 16:44:48 +01:00
|
|
|
|
|
|
|
int
|
2017-08-30 15:00:29 -07:00
|
|
|
main(int argc, char** argv)
|
2014-06-13 16:44:48 +01:00
|
|
|
{
|
2017-08-30 15:00:29 -07:00
|
|
|
upm::MAX31855 temp(0, 8);
|
2014-06-13 16:44:48 +01:00
|
|
|
|
2017-08-30 15:00:29 -07:00
|
|
|
std::cout << temp.getTemp() << std::endl;
|
2014-06-13 16:44:48 +01:00
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
//! [Interesting]
|