Refactor I2C device scanning and update display pin assignments
- Changed I2C scanning function to probe only expected device addresses, improving startup reliability. - Updated logging to provide clearer output for found and missing devices. - Modified I2C SDA and SCL pin assignments from 6 and 7 to 8 and 9, respectively, to accommodate hardware changes. - Added a timeout for I2C communication to enhance robustness.
This commit is contained in:
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user