Commit Graph

14 Commits

Author SHA1 Message Date
michaeluman 801eeb00e4 Added i2c_disconnect to c sdk
* Added closeSerialPort() for Linux build
* i2c_disconnect() closes the serial port, and resets the `connected` flag to zero.
2024-05-22 13:20:43 -07:00
James Bowman 2bdf4412da Add capture mode support to API and i2ccl 2020-03-06 06:29:35 -08:00
James Bowman 619625e4f0 Fix cast for clang/clang++ in -c++17 mode, using a C-style cast so it's buildable by plain C users.
Add Makefile.clang
Add regression test for Travis

[#39]
2020-03-06 06:20:38 -08:00
James Bowman 23b12eec6e Add 'x' command (bus reset) to C common header and i2ccl.
[#30]
2020-01-21 10:37:51 -08:00
Ethan Slattery 068904cf21 added function to set i2c start bit to public API 2019-05-11 11:25:50 -07:00
Ethan Slattery 857fa0be76 changes for MSVC 2019-05-11 11:25:04 -07:00
James Bowman 432edf2101 Code changes for MSVC as suggested
[#16]
2019-05-11 07:14:44 -07:00
James Bowman 2831dba645 win32 Makefile for i2ccl.exe 2019-02-27 07:54:22 -08:00
James Bowman 9ad4dcda3a Merge branch 'master' of github.com:jamesbowman/i2cdriver 2019-02-26 06:47:13 -08:00
James Bowman 32761d19e4 Compile with -Wall, clean up all warnings. #1 2019-02-26 06:46:28 -08:00
Justin Hirsch f665595f0f Fix custom baud rate for termios on apple 2019-02-25 15:13:21 -08:00
James Bowman 096174c615 Monitor mode in C API and i2ccl 2019-02-23 15:56:26 -08:00
James Bowman 11d49d4f20 C API first cut, i2ccl running 2019-02-23 15:44:54 -08:00
James Bowman c03a6f2ffb Skeleton of C library 2019-02-23 10:22:33 -08:00