Lines Matching refs:to
4 The Maxim Integrated MAX31855 is a thermocouple amplifier allowing you to read
12 This is a spi module so we will use the mraa spi functions to build our module.
13 First thing to do is to create a tree structure like this in upm/src/max31855:
21 And then an example file to use & test our lib with in upm/examples/max31855.cxx.
26 contain essentially the same thing and are very simple. The only thing to
27 change between the javascript & node.js one is the argument to %module.
31 The %include parameter defines which functions will be available to the
34 either of those args. The upm.i is just a shortcut to include some commonly
59 Then we also need to implement a nice cleanup in our destructor.
63 Then to read data, we will use spi_write_buf which will allow us to write a
64 whole uint32_t in order to get one back, which is what the arduino code does in
65 spiread32. Obviously we set our chip select to low first. Here is the start of
75 useful to us and converting it to a double.
81 Our final example, very easy to use API!
87 The we need to add it to the examples/CMakeLists.txt. Only three lines are required
95 Note you don't have to rebuild everything, cmake keeps target lists so if you