How does run a code as main os boot in raspberry pi board?

  Kiến thức lập trình

I have a camera that is connected to raspberry pi board.also a light sensor that is connected via giop to raspberry pi. when its first morning the light sensor order to raspberry to ON then want the board via a simple code cap=cv2.videocapture(1) by camera take capture photo every 10 minutes. But do not know how to do that automatically. I read some studies that mention me do that by main boot but i do not know how to act that in os of my raspberry pi.i save my code in desktop named as photo.py also i installed phyton 3.12 and open cv and anaconda navigator.
Thanks

Theme wordpress giá rẻ Theme wordpress giá rẻ Thiết kế website

LEAVE A COMMENT