Go to advanced search

by wmsrite
Fri Jul 29, 2016 10:49 pm
Forum: Python
Topic: IDLE executes without f5
Replies: 4
Views: 931

Re: IDLE executes without f5

I thought I was opening a new file. I go to the menu, click on new file, save the file as camera.py and then start writing. Is there a different option for opening a new file?

I'm familiar with REPL's. I use them in Node.js.

How do I open a new file that has the REPL turned off?
by wmsrite
Fri Jul 29, 2016 12:26 am
Forum: Python
Topic: PiCamera script runs from IDE but not from terminal
Replies: 7
Views: 1430

Re: PiCamera script runs from IDE but not from terminal

Have you enabled the camera in raspi-config? Go to the terminal and from the command line type: raspi-config It'll open a window interface. Make sure the camera is enabled and that I2C is also enabled. Both must be enabled to get the camera working. You might also want to enable SSH at the same time...
by wmsrite
Fri Jul 29, 2016 12:20 am
Forum: Python
Topic: IDLE executes without f5
Replies: 4
Views: 931

Re: IDLE executes without f5

I wrote the program in Geany and then opened it in ILDE3 and it worked perfectly. So obviously this is an ILDE issue. Why would it execute the command before the program is finished being written? How can I stop this?
by wmsrite
Fri Jul 29, 2016 12:13 am
Forum: Python
Topic: IDLE executes without f5
Replies: 4
Views: 931

IDLE executes without f5

I'm adding a camera to my Pi. Here's the code I'm trying to write in IDLE3 from picamera import PiCamera from time import sleep camera = PiCamera() camera.start_preview() sleep(10) camera.stop_preview() However, once i hit enter on camera.start_preview() the IDLE3 editor runs the program and the cam...
by wmsrite
Sat Jul 23, 2016 7:13 pm
Forum: Troubleshooting
Topic: Pi3 acts like no SD is inserted
Replies: 3
Views: 608

Pi3 acts like no SD is inserted

've downloaded Noobs, extracted it copied the files from the folder to a formatted micro sde card on my Linux machine. I insert the SD into a usb port via the supplied adapter from Cnakit (just a usb dongle with slot for the SD. I then plug in the Pi and nothing happens.

Thoughts? suggestions?

Go to advanced search