I would like to access the aprs.fifo with a quick look to see if there is new info on the file. Do you want to access it from a bash script, python script, c code etc etc? From bash the "tail" command can be used to read the last few lines of a file and the number of lines read is configurable. Rea...
Hello I am making a fake radar. I have setup a a fifo. mkfifo -m a=rw aprs.fifo nano aprs.fifo rtl_fm -p 7.826 -f 144.390M -s 22050|multimon-ng -t raw -a AFSK1200 -f alpha -A /dev/stdin > aprs.fifo I would like to access the aprs.fifo with a quick look to see if there is new info on the file. There ...
I am looking to make the scanner focus on an input for a python3 script to log the upc. That way I can log the food in and use. I was hopping that when i plug in the upc reader It would bring up the python3 script and run the logging. there is a upc look up part to the script to.
Hello How to turn RPi into a python3 kiosk when usb bar-code reader is plugged in? I have the bar code reader program that I would like to test. Where I have the problem is that if the program is not running if the bar code reader reads a bar code it put it where ever the text can go. A web page wou...
Hello I have two WiFi (wlan) on one raspberry pi and would like to look up and see if another RPI WIFI is working. I came across this code and I have changed some of it. I would like to choose which WiFi (wlan) I am using with out changing the whole base code. Is there a way to make a class that wil...
Now that I have the button working. I'd use AJAX firing a CGI request (POST) for the controls from the buttons, so that you never re-direct away from the home page. #!/usr/bin/python3 # -*- coding: utf-8 -*- #imports import cgi import cgitb cgitb.enable() input_code = formdata.getfirst('input_code',...
I think i may have a way. i am going to have the main page update ever second or enter. Then the CGI/python3 is going to redirect to the page according to the botton.
@DougieLawson Hello, There is a lot of infomation on how to control the gpio's from a web page. I am trying to go the other way around. I hope to have 4 or more web pages, I would like to press a botton and have the only page that you can view is page 2 not page one. table: s1 s2 s3 s4 web page 0 0 ...
Hello, It has been a while sense I have been on. All the Google searches have just been able to confuse me. Like the titles said was I would like to use an input to control a web page. I have a bunch of code to use for this in Python3. I have installed and got cgi working in apache2. Is there a way ...
I have it working two problems with the Teensy code. First was that the baud rate was not to be set. second was that the key did not know what to do. here is the code that is in it now. to see if it will work. I plan to use it for other projects later on. like getting information on setting a ardren...
I have it wired up and the LEDs work once I rearranged the pin sequence properly. I am running headless so I vnc in to the RPi and open up a text editor there is no input from the key pad. The question is: Is there some driver for the RPi to make it read the Teensy in a key pad type of use? or is th...
If there is no conflict with the I2C. can there be more that one RTC?
The more PiHats are adding RTC. I think that this may be a common question, I did not find it.
Check the Date against the UCT.!!!!!!!!! thaspius said to do this and it worked. sudo /etc/init.d/ntp stop sudo ntpd -q -g sudo /etc/init.d/ntp start on this URL https://raspberrypi.stackexchange.com/questions/8231/how-to-force-ntpd-to-update-date-time-after-boot/47346#47346?newreg=dde4730ddc5b423fb...
Hello, I was just trying to use a 4x4 keypad. I seen a game console for a online game that I thought would be fun to make, then changed my mind to 'would it be possible to make a "steam punk keyboard" for a Case Raspberry Pi'. A 4x4 pad is the best place to start. There are a lot of uses for a USB k...
How do I setup an Arduino/Teensy USB keypad so that it works as a keypad/keyboard on a RPi? I have done a google on it there is one reference, it was saying that it was flacky at best. I thought that RPi was capable of using a PS2 keyboards?
Make golf not war Please excuse the indents the tab is not translating properly for me. Trebuchet Golf/ Medieval Golf This idea I have had for about 6+ years. It is a set of rules for allowing robots on golf courses. Why? It is for paraplegic’s/quadriplegic’s, and to excite inventers/children to bui...
If you want to try something spectacularly ill-advised that works without a reboot, take your js['time_zone'] value and stick it in the equivalent of a system call in Python. I don't know the exact syntax, nor do I care to learn, but something like: sudo ln -fs /usr/share/zoneinfo/js['time_zone'] /...
scotty101 wrote:Python modules that are written for Python2 won't work with Python3 unless you rewrite them (or someone else has rewritten it). There is no magic command.