Quantcast
Channel: Armbian news
Viewing all articles
Browse latest Browse all 486

kernel console commands from a C or PY script

$
0
0

Hi,

 

I am trying to:

1) turn ON/OFF a USB port

2) execute a command: fswebcam -r 800x600  -p YUV420P --save cam.jpg

 

 

Is is possible to do this from a script? Are there any examples how to do it?


Viewing all articles
Browse latest Browse all 486

Trending Articles