Go to advanced search

by AeroFixerB1
Thu May 16, 2019 11:46 pm
Forum: Python
Topic: Can Someone Help Me Start My Program With A Button
Replies: 8
Views: 328

Re: Can Someone Help Me Start My Program With A Button

I guess what I need to know now is how to set up the code. I understand I'm going to need to set up a continuous loop and put in sleep times but i guess with me not being experienced at all with programing i don't how to set it up correctly. I feel the more videos i watch trying to learn how to set ...
by AeroFixerB1
Thu May 16, 2019 10:22 pm
Forum: Python
Topic: Can Someone Help Me Start My Program With A Button
Replies: 8
Views: 328

Re: Can Someone Help Me Start My Program With A Button

I guess I'm just really confused on how to make it do that. Does anyone know I good place to get some tutorials on how to set this program?
by AeroFixerB1
Thu May 16, 2019 2:42 am
Forum: Python
Topic: Can Someone Help Me Start My Program With A Button
Replies: 8
Views: 328

Can Someone Help Me Start My Program With A Button

Hello, I will first start off by saying I'm new to this thing and don't know a lot. This program is for a project I'm building. :? So to paint a picture of what I'm wanting to do, I am writing a program that will be for a diorama I'm making of a 1:32 model airplane. My idea is to have the engine sta...
by AeroFixerB1
Fri Mar 29, 2019 12:17 am
Forum: Beginners
Topic: Setting up a Start Program Button
Replies: 8
Views: 276

Re: Setting up a Start Program Button

I think what you actually need is to have your program running but wait for a button press to execute turning the motor and playing the engine sound. So the program would work like this. Program start Set up gpio for output for motor control Set up gpio for button input Check button status If not p...
by AeroFixerB1
Wed Mar 27, 2019 5:47 pm
Forum: Beginners
Topic: Setting up a Start Program Button
Replies: 8
Views: 276

Re: Setting up a Start Program Button

Welcome to the Raspberry Pi forums. The gpiozero Python library module installed by default with the Raspberry Pi Foundation Raspbian Stretch Operating System might be a good starting point. There is documentation for a simple Start/Stop button here: https://gpiozero.readthedocs.io/en/stable/recipe...
by AeroFixerB1
Wed Mar 27, 2019 5:44 pm
Forum: Beginners
Topic: Setting up a Start Program Button
Replies: 8
Views: 276

Re: Setting up a Start Program Button

klricks wrote:
Wed Mar 27, 2019 12:35 pm
A RPi Zero W does not have an audio output jack so in order to have audio you will need to have an HDMI TV/monitor attached.
I understand and ive already got a solution for that problem by getting a HAT from adafruit to allow me to attach speakers.
by AeroFixerB1
Wed Mar 27, 2019 3:44 am
Forum: Beginners
Topic: Setting up a Start Program Button
Replies: 8
Views: 276

Setting up a Start Program Button

Hello, I'm pretty new to this and I'm learning every step of the way. I'm using a Pi Zero W for a new project and my goal with the project is to have the Pi run a program for a Plastic scale model. My plan is to have the program simulate the engine starting in the plane by having the program turn a ...

Go to advanced search