Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 1232

Python • Re: Freenove ultimate starter kit raspberry pi

$
0
0
im doing project 14 which uses python and the code is

Code:

cd ~/Freenove_Kit/Code/Python_Code/14.1.1_Relay  python Relay.py
this is meant to make the LED run using to motor but it turns on one when i click it for a short second then stops but all else works.

May I suggest you visit Get Support - https://store.freenove.com/pages/support
Get Support
We are fully responsible for our products!

Please feel free to describe your needs, whether they are questions before buying or problems in use.

In general, we will reply to you within one working day.

The way you start the script should probably be written as -

Code:

cd ~/Freenove_Kit/Code/Python_Code/14.1.1_Relay  python Relay.py
For debugging/troubleshooting purposes that doesn't give potential helpers any useful information: it is the content of the file Relay.py that is significant, not its name.

Sometimes knowing what Raspberry Pi board you are using, and what Operating System it is running, can be useful.

Statistics: Posted by B.Goode — Thu Jun 06, 2024 8:18 pm



Viewing all articles
Browse latest Browse all 1232

Trending Articles