用于gnu/linux系统上i2c和spi串行总线通信的python包。
serbus的Python项目详细描述
#塞尔维亚语
版权所有(c)2015-灰猫实验室-https://graycat.io
Serbus为上的I2C和SPI串行总线协议提供基本的C API 基于gnu/linux的系统,以及在其上构建的python包。
它实际上只是标准linux提供的ioctl命令的包装器 I2C和SPI驱动程序,所以它应该非常通用。也就是说,我现在 只在beaglebone black上进行了广泛的测试,所以使用它的风险由你自己承担! (如果在另一个系统上对您有用,请告诉我)
- 源代码:https://github.com/graycatlabs/serbus/
- c api文档:https://graycat.io/docs/serbus/
- python api文档:https://graycat.io/docs/serbus/python/
##贡献
有什么贡献吗?伟大的!这个项目遵循贡献者 契约行为准则,因此请务必阅读code_of_conduct.md。
##许可证
在麻省理工学院的许可下发布。
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.