ich bin nur Anfänger und gelegentlicher Hobby-Bastler mit sehr beschränktem Budget.
Daher suche ich billige, selber erprobte Sets.
Ich bin mit dem Raspi oft unterwegs (Raspi im Aktenkoffer) und will nicht immer erst stundenlang neu verkabeln oder mich mit Kabelsalat herumärgern müssen.
thank you for your input! indeed, I'm very new to Linux and pthread and actually I really needed a good tutorial (about which I already has asked for, thanks for that link, too!) https://www.raspberrypi.org/forums/viewtopic.php?f=33&t=125086 Good to know that all which a task calls is at it's ow...
Just tried to run my UART communication program with openvg functions in a pthread task, now I get the error Tx_master008: libshapes.c:571: End: Assertion `vgGetError() == VG_NO_ERROR' failed. as long the function runs in main in an endless loop it works though - what do I have to do? I need the gra...
I don't even have the new openvg on my SD card - how do I get it there? (sorry, for Windows it would be easy, just
download zip,
unzip,
copy unzipped folder over existing openvg folder
2) is it useful to link by -D_REENTRANT additionally for Raspberry Pi? 3) how is it possible to immediately stop or kill 1 task by main() or by another task ? (e.g., a) immediately in case of emergency stop (no cleaning required necessarily) or b) by a higher-priority task (in this case a cleaning w...
genau deshalb habe ich ja eingangs gefragt: werden die meisten gängigen kabellosen QWERTZ Tastatur-Maus-Kombinationen alle vom Raspbian Linux (Jessie) erkannt? welche preiswerte Raspi-kompatible kabellose Tastatur + Maus Kombination ist zu empfehlen? in Verbindung gleich mit der ersten Antwort Die f...
heya, some question about pthread for RaspI: 1) is a short tutorial available how to setup, how to use it and make a couple of tasks run simultaneously - and at the end clean all and everything? ps, I'm using g++ for C++ libs additionally -------------------------------------- edit: found something!
I tried to compile your example for my B+, but I get errors (I admit I have different compiler and build settings for Geany, but I added your options though:): g++ -Wall -I/opt/vc/include -I/opt/vc/include/interface/vmcs_host/linux -I/opt/vc/include/interface/vcos/pthreads -O3 -c "prime2.c"...
genau wie erwartet:
jetzt habe ich mir ein Set von Hama bestellt, das läuft ohne weitere Treiberinstallation sogar automatisch an jedem PC (XP, Win7), aber absolute Funkstille beim raspi.
- wo und wie krieg ich jetzt die Raspi Treiber installiert?
hey, the last install procedure for your extended libs were: wget https://www.dropbox.com/s/h37po1q305eab17/shapes_plus.tar.gz tar xvf shapes_plus.tar.gz sudo rm shapes_plus.tar.gz cd shape_demo make sudo make install for the compiler: additionally -lshape_plus for the program: additionally #include...
that sounds amazing! Thank you very much for your efforts! Now having also a smaller screen besides the other ones on the desktop is really an outstanding feature! I just had my first look at it, it looks almost as if it's the complete entire openvg system like already ajstarks provided before? Now ...
indeed, I didn't understand that int [0, 255] for RGB and then float [0.0, 1.0] for alpha was actually a defamiliarized RGBA coding. That's why I paraphrased the float parameter by an "x" which is often used in analysis for Real numbers, opposite to Natural numbers. So by Google search I f...
regarding network access was an important hint, but this is not my skill - just basic Arduino Due, but this would have been almost as powerful by calculation speed as the Raspi though. Anyway, not my workspace then. If one had the name of this code, one might google common color 4D codes by Google p...
thank you,
I never expected
#define WHITE 255, 255, 255, 1
to work lising 5 parameters without a brace around the last 4 ones
are those r,g,b,x coded colors a common color code? Is there a name for this color code like it's common for RGB (or RGBA or CMYK - or is this actually one of these)?
hey, I just was running into this same issue, now I found this code which is working fine, and even is quite quick: #include <termios.h> #include <unistd.h> #include <fcntl.h> int kbhit(void) { struct termios oldt, newt; int ch; int oldf; tcgetattr(STDIN_FILENO, &oldt); newt = oldt; newt.c_lflag...