Skip to content

Commit

Permalink
camera_i2c: Add RPI 3B+ setup
Browse files Browse the repository at this point in the history
Add version tag for 3B+, and remove the incorrect comment about
using i2c1.

Fixes Hermann-SW#6
  • Loading branch information
6by9 committed Apr 10, 2018
1 parent 6fc3c89 commit 75406d7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions camera_i2c
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,9 @@ gpio -g mode 2 out
gpio -g write 2 1
;;

'a02082'|'a22082')
echo "Raspberry Pi3"
'a02082'|'a22082'|'a020d3')
echo "Raspberry Pi3/Pi3+"
# https://www.raspberrypi.org/forums/viewtopic.php?f=38&t=120702&start=100
# "Direct i2c1 to GPIO44&45."
# Pins 44&45 Alt1=i2c0, alt2=i2c1
# i2c0 can be on pins 0 and 1, so make sure they are not set to alt0
gpio -g mode 0 in
Expand Down

0 comments on commit 75406d7

Please sign in to comment.