ok, I fear that a translation issue may be a problem here, so I'll try to go through what's happened so far =) Thank you KLL for all your help and your patience with me =) I was going through everything you had put so far to see if I misunderstood something or what was happening. The very first lett...
Thank you for taking the time to help me ^_^ but no, even after changing the code to the following: #!/usr/bin/python import serial import sys if len(sys.argv) == 2: s = serial.Serial('/dev/ttyACM0', 9600, timeout=1) if s.isOpen(): s.flush() s.write(sys.argv[1] + "\n") s.close() print sys.argv[1] th...
Thank you for the response =) I'll go ahead and modify my python code, you're right and it being a test program is no reason for my code to be sloppy ^_^ Any idea about how to solve the problem I posted about though? Looking to have an Arduino hooked up to a headless rPi zeroW and having to buy or c...
Hi folks =) So I wrote a simple serial testing script between the arduino and python. Arduino code: String inputString = ""; int led = 13; boolean stringComplete; void setup() { Serial.begin(9600); inputString.reserve(200); pinMode(led, OUTPUT); stringComplete = false; } void loop() { if (stringComp...
so I have a python script running fine on my RPi when I trigger it with "python takeSpeech.py", however as soon as I add a sudo to it like: sudo python takeSpeech.py I get the following error: Traceback (most recent call last): File "takeSpeech.py", line 11, in <module> import wolframalpha ImportErr...
just to know how to start it without the menu ^_^ I seem to have found the problem, apparently it does work that way, just not through ssh on putty on my laptop lol(I figured running it through putty would simply try to open it on the pi's desktop, I was wrong). So is there a way to force it to open...
well, mainly it's so I can have an easy way of displaying a text file on screen without the command line lol. I have a python script that is writing lists as it's receiving data (when prompted). I'm still fairly new to python and haven't dealt with pygame very much yet, and I'll use that later to ma...
So is there a way to make leafpad turn on from the command? like if I wanted something like "leafpad 'filename.txt'" to launch in a gui mode, how would I launch it from the command line?