Go to advanced search

by eternalfame
Sat Sep 13, 2014 8:20 pm
Forum: Python
Topic: Export data information to html page
Replies: 6
Views: 2355

Re: Export data information to html page

Hey.
I am by no means an expert or something but could you do it by sending your results as POSTDATA to a formular on your website?
Or you could store your results in a SQL-database and from the html page you read the data from there using PHP.
by eternalfame
Sat Sep 13, 2014 8:11 pm
Forum: Python
Topic: Raspberry 74xx595 and 4094
Replies: 1
Views: 904

Raspberry 74xx595 and 4094

Hey guys! I am a little bit sick so I had the time for doing a bit of Python-learning and I thought that some people may have problems to use the shiftregisters 74xx595 or the 4094 correctly. Therefore I made a little exercise for myself and wrote a function which should do just that and nothing mor...
by eternalfame
Sat Sep 13, 2014 6:08 am
Forum: Python
Topic: rpi.gpio error 'module' object has no attribute 'setmode'
Replies: 12
Views: 16012

Re: rpi.gpio error 'module' object has no attribute 'setmod

Hi guys, i have a similar problem with it. this is the error: Traceback (most recent call last): File "Blink.py", line 4, in <module> GPIO.setmode(GPIO.BMC) AttributeError: 'module' object has no attribute 'BMC' And this is my code: import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BMC) GPIO.se...
by eternalfame
Fri Sep 12, 2014 11:51 am
Forum: Python
Topic: running 2 python scripts together
Replies: 14
Views: 16746

Re: running 2 python scripts together

Search in Google how to use subprocess.Popen.

This should allow you to start a new process!
by eternalfame
Wed Sep 10, 2014 9:15 am
Forum: Python
Topic: Interrupt handling problem
Replies: 2
Views: 588

Interrupt handling problem

Hey guys! I've programmed a simple demo program for education purpose. Therefore I set up a little circuit containing one switch and 2 LEDs. The aim of the python program is to switch the LEDs to a different state when the switch causes an interrupt. In general this works pretty well, but sometimes ...
by eternalfame
Sun Sep 07, 2014 2:26 pm
Forum: Python
Topic: free processor
Replies: 3
Views: 696

Re: free processor

I just want the program to do nothing to keep thr cpu alive as long as possible because my program should run at least 3 hours straight. The above code would work fine for freeing up the CPU. If this is to try to increase run time from batteries, bear in mind the Pi has no CPU low power state, it u...
by eternalfame
Sun Sep 07, 2014 11:03 am
Forum: Python
Topic: free processor
Replies: 3
Views: 696

free processor

Heyho guys! To keep it short: I want to write a little program which turns on and off some leds via an interrupt routine. This could happen a few times so i used add_event_detect. The main is, after initializing, in a loop which looks as follows: while True: time.sleep(5) I just want the program to ...

Go to advanced search