Refactor the oled_i2c example (#217)

This PR does a number of things:

1. Renames the oled_i2c example to sssd1306_i2c to match other example folder
   names that use the device name
2. Merge code from another ssd1306 exmaple that was sitting in another PR
3. Add a few more demo parts to the code for extra fun.
4. Couple of bug fixes that were reported in original code to fix handling different
   display sizes, so code now works for 32 and 64 pixel height displays by changing
   a define at top of code.
This commit is contained in:
James Hughes
2022-11-25 16:38:11 +00:00
committed by GitHub
parent 75c6a5e9db
commit aa9a72b494
14 changed files with 508 additions and 328 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 B