You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -192,14 +192,14 @@ This gives you the possibility of creating an asynchronous application without u
192
192
Here are just a few examples:
193
193
194
194
```python
195
-
cam.set_quality(90)# The quality goes from 0% to 100%, meaning 100% is the highest but has probably no compression
196
-
camera.get_brightness()
197
-
camera.set_vflip(True)#Enable vertical flip
195
+
cam.quality =90# The quality goes from 0% to 100%, meaning 100% is the highest but has probably no compression
196
+
print("cam.brightness =", cam.brightness)
197
+
camera.vflip =True#Enable vertical flip
198
198
```
199
199
200
200
See autocompletions in Thonny in order to see the list of methods.
201
201
If you want more insights in the methods and what they actually do, you can find a very good documentation [here](https://docs.circuitpython.org/en/latest/shared-bindings/espcamera/index.html).
202
-
Note that each method requires a "get_" or "set_" prefix, depending on the desired action.
202
+
Note: "get_" and "set_" prefixed methods are deprecated.
0 commit comments