endail / pico-scale Goto Github PK
View Code? Open in Web Editor NEWA scale API for a Raspberry Pi Pico (RP2040) using the hx711-pico-c library.
Home Page: https://endail.github.io/pico-scale
License: MIT License
A scale API for a Raspberry Pi Pico (RP2040) using the hx711-pico-c library.
Home Page: https://endail.github.io/pico-scale
License: MIT License
CMake Error at CMakeLists.txt:51 (add_subdirectory):
add_subdirectory given source "docs" which is not an existing directory.
This only happens if doxygen is available. Removing the section entirely allows configuration to succeed.
Checking the source, the reason is here:
Line 131 in 898dc15
This while loop can never be exited because timeout is always 10 seconds on each loop. The absolute time at which the timeout ends is always 10 seconds from the point of calling the function: https://github.com/endail/hx711-pico-c/blob/main/src/hx711.c#L301 - ie inside the call.
So this while loop will keep reading until the realloc fails, at which point the pico seems to crash.
After cloning the repository using method 1. It is not possibile for me to build or run CTest. VsCode can not find the header file hx711_noblock.pio.h.
It is not in "extern/hx711-pico-c/include/hx711_noblock.pio.h" after cloning the repository
Line 132 in 7d899cd
The timeout, going into the function, should be a raw number. It can then be converted to a timestamp inside.
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.