@@ -4,41 +4,93 @@ Simple test
4
4
Ensure your device works with this simple test.
5
5
6
6
.. literalinclude :: ../examples/ov2640_simpletest.py
7
- :caption: examples/ ov2640_simpletest.py
7
+ :caption: ov2640_simpletest.py
8
8
:linenos:
9
9
10
+
11
+ LCD tests
12
+ ---------
13
+
14
+ Kaluga 1.3 with ili9341
15
+ ~~~~~~~~~~~~~~~~~~~~~~~
16
+
10
17
Display an image from the camera on the Kaluga 1.3 board, if it is fitted with an ili9341 display.
11
18
12
19
.. literalinclude :: ../examples/ov2640_displayio_kaluga1_3_ili9341.py
13
- :caption: ../examples/ ov2640_displayio_kaluga1_3_ili9341.py
20
+ :caption: ov2640_displayio_kaluga1_3_ili9341.py
14
21
:linenos:
15
22
23
+ Kaluga 1.3 with st7789
24
+ ~~~~~~~~~~~~~~~~~~~~~~
25
+
16
26
Display an image from the camera on the Kaluga 1.3 board, if it is fitted with an st7789 display.
17
27
18
28
.. literalinclude :: ../examples/ov2640_displayio_kaluga1_3_st7789.py
19
- :caption: ../examples/ ov2640_displayio_kaluga1_3_st7789.py
29
+ :caption: ov2640_displayio_kaluga1_3_st7789.py
20
30
:linenos:
21
31
32
+ Raspberry Pi Pico with st7789
33
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
34
+
22
35
Display an image from the camera connected to a Raspberry Pi Pico with an st7789 2" display
23
36
24
37
.. literalinclude :: ../examples/ov2640_displayio_pico_st7789_2in.py
25
- :caption: ../examples/ ov2640_displayio_pico_st7789_2in.py
38
+ :caption: ov2640_displayio_pico_st7789_2in.py
26
39
:linenos:
27
40
28
- Save an image to internal flash on Kaluga 1.3
41
+ Kaluga 1.3 with ili9341, direct display
42
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
43
+
44
+ Preview images on LCD, bypassing displayio for slightly higher framerate
45
+
46
+ .. literalinclude :: ../examples/ov2640_directio_kaluga1_3_ili9341.py
47
+ :caption: ../examples/ov2640_directio_kaluga1_3_ili9341.py
48
+ :linenos:
49
+
50
+
51
+ Image-saving tests
52
+ ------------------
53
+
54
+ Kaluga 1.3 with ili9341, internal flash, JPEG
55
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
56
+
57
+ Preview images on LCD t hen save JPEG images to internal flash on Kaluga 1.3. Requires the second snippet of
58
+ code to be saved as ``boot.py ``.
29
59
30
60
.. literalinclude :: ../examples/ov2640_jpeg_kaluga1_3.py
31
- :caption: ../examples/ ov2640_jpeg_kaluga1_3.py
61
+ :caption: ov2640_jpeg_kaluga1_3.py
32
62
:linenos:
33
63
34
64
``boot.py `` for the above program
35
65
36
66
.. literalinclude :: ../examples/ov2640_jpeg_kaluga1_3_boot.py
37
- :caption: ../examples/ ov2640_jpeg_kaluga1_3_boot.py
67
+ :caption: ov2640_jpeg_kaluga1_3_boot.py
38
68
:linenos:
39
69
40
- Preview images on LCD then save to SD on Kaluga 1.3 fitted with an ili9341 display
70
+ Kaluga 1.3 with ili9341, external SD card, JPEG
71
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72
+
73
+ Preview images on LCD then save JPEG images to SD on Kaluga 1.3 fitted with an ili9341 display.
41
74
42
75
.. literalinclude :: ../examples/ov2640_jpeg_sd_kaluga1_3.py
43
- :caption: ../examples/ov2640_jpeg_sd_kaluga1_3.py
76
+ :caption: ov2640_jpeg_sd_kaluga1_3.py
77
+ :linenos:
78
+
79
+ Kaluga 1.3 with ili9341, external SD card, BMP
80
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
81
+
82
+ Preview images on LCD then save BMP images to SD on Kaluga 1.3 fitted with an ili9341 display.
83
+
84
+ .. literalinclude :: ../examples/ov2640_bmp_sd_kaluga1_3.py
85
+ :caption: ov2640_bmp_sd_kaluga1_3.py
86
+ :linenos:
87
+
88
+
89
+ Kaluga 1.3 with Adafruit IO
90
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
91
+
92
+ Upload JPEG images to Adafruit IO. Requires that WIFI and Adafruit IO be configured in ``secrets.py ``.
93
+
94
+ .. literalinclude :: ../examples/ov2640_aio_kaluga1_3.py
95
+ :caption: ov2640_aio_kaluga1_3.py
44
96
:linenos:
0 commit comments