Parth1234
Posts: 38
Joined: Mon Mar 12, 2018 3:14 pm

Re: How to add java script code into python program?

Fri Jun 08, 2018 7:42 am

B.Goode wrote:
Fri Jun 08, 2018 5:31 am

Have you tested the led with a simple Python+RPi.GPIO script to check that the LED is wired up and working correctly? You could use the script you posted in the first message in this thread.
Hi B.Goode, I have tested led with a simple Python+RPi.GPIO script and it's working correctly ( physical pin #22 is actually GPIO25)

there is no problem in connection. We are missing something in program that why physical led is not working.

Parth1234
Posts: 38
Joined: Mon Mar 12, 2018 3:14 pm

Re: How to add java script code into python program?

Sat Jun 09, 2018 2:15 pm

scotty101 wrote:
Thu Jun 07, 2018 8:47 pm
Hi scotty.. When you will have time, can you test the code

scotty101
Posts: 2983
Joined: Fri Jun 08, 2012 6:03 pm

Re: How to add java script code into python program?

Wed Jun 13, 2018 10:20 am

Parth1234 wrote:
Sat Jun 09, 2018 2:15 pm
scotty101 wrote:
Thu Jun 07, 2018 8:47 pm
Hi scotty.. When you will have time, can you test the code
No. Sorry.
You'll have to debug it yourself. Even if I were to get it working on my own Pi, there is no guarantee that that you'll have the same results.
Add a print statement to the On and Off functions.
Check in the python console window to see if the text from your print statement is displayed when you press the button in the web browser.
Electronic and Computer Engineer
Pi Interests: Home Automation, IOT, Python and Tkinter

Return to “Beginners”

Who is online

Users browsing this forum: Genestic12, Google [Bot], smithjames0 and 38 guests