diff --git a/README.md b/README.md index ba41671..acda457 100644 --- a/README.md +++ b/README.md @@ -72,34 +72,37 @@ Getting information about the device: Format(width=640, height=480, pixelformat=} >>> for ctrl in cam.controls.values(): print(ctrl) - - - - - - - - - - - - - + + + + + + + + + + + + + >>> cam.controls["saturation"] - + + >>> cam.controls["saturation"].id 9963778 >>> cam.controls[9963778] - + >>> cam.controls.brightness - ->>> cam.controls.brightness.value = 128 + +>>> cam.controls.brightness.value = 64 >>> cam.controls.brightness - + ``` +(see also examples/v4l2py-ctl.py) + ### asyncio v4l2py is asyncio friendly: