hi, Does wiringPi work correctly? What happens if you type in the console gpio -v gpio readall ? Did you check if you really had connected to GPIO 0 and not to a different neighbor pin? Is the LED connected correctly? does the LED turn on if you disconnect the wire to GPIO 0 and then connect to +3.3V?
@ejolson: apart from history, on current OS actually no integrated IDE is really needed anywhere, anymore - it's simply more a matter of user-friendlyness and convenience. e.g., the Arduino IDE is running on Windows, x86 Linux, ARM Linux, and MacOS X (which is also Unix/Linux-based), and either plat...
Interesting. Where did you read that? I'd never even heard of -pthread before. -lpthread has never given me any problems. I'm not quite sure, IIRC -pthread is about including pthread macros as well. Perhaps it's like written here: https://stackoverflow.com/questions/23250863/difference-between-pthr...
Looks like you're missing -lpthread in your compilation line. A quick look at the sample code shows #include <pthread.h> in the Thread.h header file so it As your using Code::Blocks, you should be able to add -lpthead into the compiler options dialog. Cheers. just out of curiousity: I once read tha...
IMO nano and vi are really unclear, rough, and annoying.
As an editor I prefer leafpad (already installed in Raspbian), and as an editor feat. a simple but handy IDE: Geany (also already installed in Raspbian), even if a integrated debugger is missing (apart from gdb).
I am not too good but I am not too bad in c++ programming. I did practice on GCC compiler for basic learning . I have programmed node mcu esp8266 using arduino ide in c++ language. That's why I was looking for the example As a user of Arduino (Mega, Due, esp8266) and the Raspi I daresay that there ...
But is it honestly not possible by Linux to create a shortcut link to a directory on a USB disk on the desktop? Looks like you've found a way, but that folder link may do unexpected things if you don't have the drive inserted or it's mounted on a different place. You might get the fun situation of ...
to me there is no reason why I should "edit" the shortcut link (??)
I just double click on the desktop icon and I get where I want, and it works like a charme.
thank you, but I actually thought there must be a simpler way.... :roll: and heureka! I found it out just in the moment! file manager select the target file /dir edit new shortcut link.... left window: location choose: desktop ok => there the shortcut link appears statically on an arbitrary place on...
tbh, it's not about just the shortcut (the LINK!) to the mounted drive, it's actually about a certain directory on the mounted drive (called "programs") . I admit that I simplified my question not to make it over-complicated in the thread-opening post. @scruss, @KLL : yes, thank you, I found that op...
no, I have no ssh. What I am searching for is a simple way, like in Windows: select target folder (e.g.: /media/pi/USBDRV (or any different arbitrary one)) right mouse click on this folder context menu: create shortcut (on desktop) But there is not such a context menu to create a short cut - why not...
what I got then is an icon called "settings" with tiny submenus and lot of tiny entries, not possible to open just the single drv USBDRV immediately.
I'd like to have a shortcut icon to just this single folder "USBDRV".
for Jessie: how to create a desktop shortcut to a USB storage drv? My USB drv is mounted as /media/pi/USBDRV as that is too cumbersome for quick file browsing I want to access the drive via a dektop shortcut, to be opened by the file manager by a double click, like I am used to do it on Windows (7,8...
thank you, so if in principle passive hubs can be expected to work for low-current devices then I'll 1st try if that passive hub will work fine for both the WiFi and the HID stick altogether and then 2nd try if it perhaps breaks with one or the other of the additional storage drive simultaneously. I...
hello, I need more USB ports to my Pi2 v1, and so I want to use a passive USB hub for WL keyboard/mouse stick, WiFi stick, and perhaps a small 2.5" USB HD or a memory stick. Will e.g. these 2 USB hubs or similar ones assumably work for those devices to my Pi2 USB ports? https://www.ebay.de/sch/i.htm...
hi, as stated before, wiringPi is supposed to be the simplest way. To enable UART: 1. Add the line enable_uart=1 to the '/boot/config.txt' file, this line will set up the Serial Port UART and the necessary clocks on all Pi models. 2. Remove the phrase "console=serial0,115200" from the '/boot/cmdline...
as to Delphi (4), it's almost identical to C++ Builder, just a different PL syntax. I know this too (and even a little longer than C++ as I formerly came from Borland Turbo Pascal for a couple of years: Both powerful and extremely handy, and perfectly suited to beginners and hobbyists. I regret that...
a pity, like some others I do remember quite well the Borland C++ Buider for Windows: what a powerful and handy programming tool! Feat. a text editor and a canvas für designing windows by just draging windows frame, gadgets and objects together, re-arranging and re-sizing them by simple mouse action...
hi, I also found that topic already 9 months ago at prognotes.net . Unfortunately it appeared at that time as if it didn't work in the Geany IDE, to be compiled (F8), build (F9) and run (F5) out of the IDE - is that still true? In case it works now though, what would be the Geany settings for compil...
just to clarify: the setting in the Geany preferences execute: "sudo ./%e" was just for starting programs out of the IDE (pressing F5), just for convenience reasons, and not for general purposes to start either program. I never had issues by that, not even when wiringI2c once (for a long time) requi...