Go to advanced search

by stasimon
Mon Dec 31, 2018 3:02 am
Forum: Python
Topic: 2 python scripts merge in 1?
Replies: 7
Views: 470

Re: 2 python scripts merge in 1?

Sorry, I'm totaly newbie in python, I found similar scripts on internet and only change it for me. Spent few days by method change/test untill both scripts start work. I want merge both scriots into one for my retropie project. So 1 script should do what bouth doing separate, start LED on system boo...
by stasimon
Mon Dec 31, 2018 2:03 am
Forum: Python
Topic: 2 python scripts merge in 1?
Replies: 7
Views: 470

2 python scripts merge in 1?

Hi all, I have problem with merge 2 python scripts for Raspberry Pi 3b+ with Retropie. 1st script control fan + led on when PI is on. 2nd script is for reset/poweroff system. 1st: #!/usr/bin/env python3 import os from time import sleep import signal import sys import RPi.GPIO as GPIO pin1 = 18 led1 ...

Go to advanced search