Environment Raspberry Pi 2 raspbian-jessie-lite Windows 8.1 PuTTY 0.66 (SSH) Issue Can’t get cron to execute a python script with sudo. The script deals with GPIO input so it should be called with sudo. The program is supposed to save temperature and humidity to files but cat temp.txt and cat humid.txt …
Tag: raspberry-pi2
How to let linux(raspberry) run python script when plugin power?
I have a python script(namely /home/pi/x.py). And I have tried a lot of ways to let the program, some thing such as: (I am thinking am I right here(Provides: Python)?) I have modified this bash from its original form, and put it in sudo chmod +x /etc/init.d/mystart sudo update-rc.d mystart defaults However, w…
RaspBerry Pi Command Line/Application – List IP Devices
I’m trying to make a very simple Raspberry Pi application that would auto-update with all the IP addresses, Mac addresses, and their respective device names that are all on the same network. I have absolutely no idea where to start, any recommendations on how to get this done? I play to connect a LCD an…
valgrind on raspberry Pi 2 invalid read by libtasn1
I’m currently trying to find a memory leak with valgrind on my Raspberry pi 2 Model b. My project is using the following compiler flags For debugging purposes i have removed all the code in my main function so it looks like: System uname -a: Linux debuggingpi 4.1.7-v7+ #817 SMP PREEMPT Sat Sep 19 15:32:…
Usage of nfc tag ACR1251U on raspberry-pi
I have an NFC tag ACR1251U-A1. I need to use that with Raspberry Pi. I have installed the driver on Raspberry Pi via this link: http://www.acs.com.hk/download-driver-unified/6258/ACS-Unified-Driver-Lnx-Mac-110-P.zip But when I list the nfc devices on terminal by writing “nfc-list”, I don’t s…