Skip to content

Commit

Permalink
Configuring i2c
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeHLee committed Jul 10, 2023
1 parent 2f52d5c commit 26df2a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup_scripts/i2c_rtc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
echo rtc-pcf85363 | sudo tee -a /etc/modules

#bind rtc to i2c bus
echo rtc-pcf85363 0x51 | sudo tee /sys/class/i2c-adapter/i2c-2/new_device
echo rtc-pcf85363 0xA2 | sudo tee /sys/class/i2c-adapter/i2c-2/new_device

0 comments on commit 26df2a7

Please sign in to comment.