users:dagnall53:oled
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
users:dagnall53:oled [2019/03/15 16:54] – [Information messages and RocDisplay Compatibility] dagnall53 | users:dagnall53:oled [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | Index | ||
- | * [[: | ||
- | * [[https:// | ||
- | * [[: | ||
- | * [[: | ||
- | * [[: | ||
- | * [[: | ||
- | |||
- | |||
- | ====== OLED display ====== | ||
- | The new WiRocS code has integrated OLED (I2C) capability that is largely compatible with the RocDisplay formatting.\\ | ||
- | {{: | ||
- | |||
- | To use the feature, a " | ||
- | IF OLEDs are found seen, the code can display messages and clocks on the display.\\ | ||
- | If there are no OLEDS present, the ESP8266 version of the code releases these two pins " | ||
- | The ESP32 version uses extra pins so none are " | ||
- | From WiRocSV12, the code has an additional " | ||
- | |||
- | |||
- | If no Roc-Display Messages are sent to the display, it defaults to show the Rocrail Power Status, RocRail Time, and WiFi Signal Strength.\\ | ||
- | |||
- | On the ESP8266 version, the main I2C bus uses D3 and D4, which (when the board is on the Motor shield) are the Motor direction pins. Pins D1 and D2 remain connected to the Motor Shield PWM drives, so the Motor Shield outputs can be used as dimmable filament light drives (because the " | ||
- | The Secondary I2C bus is set to D1 and D2 on the esp8266, and pins 19 and 21 on the ESP32. If no Oled is found on these pins, the pins should be returned for general purpose use after start-up. | ||
- | |||
- | |||
- | ==== Information messages and RocDisplay Compatibility ==== | ||
- | {{: | ||
- | This can be helpful in diagnosing any issues. | ||
- | The code includes a simplified text parser that can accept RocDisplay messages and display them as a station announcements. | ||
- | A separate page [[users: | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
users/dagnall53/oled.1552665280.txt.gz · Last modified: 2019/03/15 16:54 by dagnall53