inflex / bside-adm20 Goto Github PK
View Code? Open in Web Editor NEWBSIDE ADM20 Multimeter simple OSD
License: BSD 3-Clause "New" or "Revised" License
BSIDE ADM20 Multimeter simple OSD
License: BSD 3-Clause "New" or "Revised" License
When checking the code as reference to write a Sigrok driver I noticed the same bit is tested 3 times for 3 different flags, which I believe is copy-paste error:
if (d[17] & 0x20) StringCbPrintf(mmmode,sizeof(mmmode),L"min-max");
if (d[17] & 0x20) StringCbPrintf(mmmode,sizeof(mmmode),L"MAX");
if (d[17] & 0x20) StringCbPrintf(mmmode,sizeof(mmmode),L"USB");
For the record, the Sigrok wiki documents these (at different offsets though).
I use Manjaro Linux lasted version and sdl2 installed
bside-adm20-sdl2.cpp:11:10:fatal error SDL.h no such file or directory
#include SDL.h
bside-adm20-x11.cpp:302:27: aviso: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
302 | char font_name = "--terminus--r---32-";
bside-adm20-x11.cpp:420:16: error: ordered comparison of pointer with integer zero (‘GC’ {aka ‘_XGC*’} and ‘int’)
420 | if (gc < 0) {
Please any solution}?
on SDL2 this happen usign debian 12
g++ -ggdb -O -DBUILD_VER="1" -DBUILD_DATE=\""Thu Jun 22 08:40:25 PM +08 2023"\" -DFAKE_SERIAL= bside-adm20-sdl2.cpp /usr/lib//libSDL2.a -lm -lasound -lm -ldl -lpthread -lpulse-simple -lpulse -pthread -lsamplerate -lX11 -lXext -lXcursor -lXi -lXfixes -lXrandr -lXss -ldrm -lgbm -lwayland-egl -lwayland-client -lwayland-cursor -lxkbcommon -ldecor-0 -lpthread -lrt -I/usr/include/SDL2 -D_REENTRANT -lSDL2_ttf -o bside-adm20-sdl2
/usr/bin/ld: cannot find /usr/lib//libSDL2.a: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [Makefile.sdl2:22: bside-adm20-sdl2] Error 1
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.