I’ll be following the project closely and will post a deeper tutorial on custom protocol definitions next week.
Have you tried celsdkt2 yet? Let me know in the comments what you’re building with it. Happy coding, and may your builds always pass on the first try. 🛠️
Compile with: gcc myapp.c -lcelsdkt2 -o myapp
if (celsdk_init("/dev/ttyUSB0", &cfg, &dev) == CELSDK_OK) { float temp; celsdk_read_sensor(dev, SENSOR_TEMPERATURE, &temp); celsdk_log_info("Temperature: %.2f", temp); celsdk_shutdown(dev); } return 0; }