Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: If conditions with time limit
Post: RE: If conditions with time limit

(Nov-09-2018, 11:08 AM)Larz60+ Wrote: add a latch to your GPIO. This can be done simply, see: http://www.mosaic-industries.com/embedde...controller (You can modify to make a bit simpler) Relying on ...
unknowntothem General Coding Help 4 3,010 Nov-09-2018, 12:30 PM
    Thread: If conditions with time limit
Post: If conditions with time limit

Hello All, I have a question, this seems like it should be very straight forward but I have not been able to get this right yet. I have a raspberry pi connected to two buttons and one LED. My code ...
unknowntothem General Coding Help 4 3,010 Nov-09-2018, 05:58 AM
    Thread: reading raw data until condition is met, then stopping
Post: RE: reading raw data until condition is met, then ...

(Sep-26-2018, 04:42 PM)ikejima Wrote: unknowntothem, Yes, when the second loop is complete and the adcx sensor is below 840, the first 'while' will continue to run and it will open the file again a...
unknowntothem General Coding Help 7 4,080 Sep-27-2018, 06:10 AM
    Thread: reading raw data until condition is met, then stopping
Post: RE: reading raw data until condition is met, then ...

Hi Nilamo, This is for a university project, the sensor pack is left in the test area until the reading on the sensor is more than 840 (raw data). At this point the program should stop looping the 5...
unknowntothem General Coding Help 7 4,080 Sep-26-2018, 04:00 PM
    Thread: reading raw data until condition is met, then stopping
Post: RE: reading raw data until condition is met, then ...

@ ikejima & nilamo, thank you very much this really helped, super elegant solution, I feel really dumb for not using it properly, There is one issue with the while statement that I am unable to f...
unknowntothem General Coding Help 7 4,080 Sep-26-2018, 02:02 PM
    Thread: reading raw data until condition is met, then stopping
Post: reading raw data until condition is met, then stop...

Hello All, Long time reader, first time writer **tongue** I've got a bit of a noob question I guess, have a python program reading raw data from a sensor, this data is supposed to be "buffered" for ...
unknowntothem General Coding Help 7 4,080 Sep-25-2018, 03:38 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020