Skip to content

Commit e3c7ffc

Browse files
committed
cspin relocated
1 parent b41428c commit e3c7ffc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ov2640.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ def __init__(self, sclpin=22, sdapin=21, cspin=15, sckpin=14, mosipin=13, misopi
2828
#I2C pins
2929
self.sclpin=sclpin
3030
self.sdapin=sdapin
31-
self.cspin=cspin
3231

3332
#SPI pins
3433
self.sckpin=sckpin
3534
self.mosipin=mosipin
3635
self.misopin=misopin
36+
self.cspin=cspin
3737

3838
self.standby=False #variable para control de estado de camara
3939

@@ -207,4 +207,4 @@ def cam_spi_read(address, hspi, cspin):
207207
hspi.write(wbuf)
208208
buf = hspi.read(1)
209209
cspin.value(1)
210-
return (buf)
210+
return (buf)

0 commit comments

Comments
 (0)