cs2dsb / max31855.rs Goto Github PK
View Code? Open in Web Editor NEWDriver for MAX31855 SPI thermocouple converter
License: Apache License 2.0
Driver for MAX31855 SPI thermocouple converter
License: Apache License 2.0
Im trying to learn to use the rpi pico with rust (already know rust, have done the embedded discovery book, so have some, minimal level of knoledge), but, in trying to follow the given example, im truthfully a bit lost.
Im not sure what im supposed to import (the Hertz type requires a generic parameter, at least in the pico BSP, and no integer type has a mhz()
function call), or how to construct the spi. (Cant seem to find any Spi
trait with a spi2
function, and the MAX31855 does not have a MOSI pin, so im not sure if thats unused, or a mistake). Is there some sort of working example out there, whether in use by you or someone else?
Hey there! I have a project where I'll need to use an MAX31855 inside of an embassy
based project.
I'll certainly base my work off of this crate, but I'm not sure the best way of supporting both sync and async approaches. From a first guess, I'd likely keep all the constants and register definitions shared, but have two separate types and I/O impls for blocking and async interfaces.
I'll plan to do this async conversion in a fork to start off, but if I get it to a reasonable place, would you be interested in having me upstream those changes?
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.