Recent

Author Topic: Multiple SSD1306 on Raspberrry3 in Freepascal  (Read 896 times)

pascalbythree

  • Sr. Member
  • ****
  • Posts: 292
Multiple SSD1306 on Raspberrry3 in Freepascal
« on: November 06, 2022, 05:12:32 pm »
Hey FPC people,

Does anybody know where i can find example code for hooking up multiple SSD1306 displays on a raspberry 3 in freepascal for command line ?

PXL seems to support only 1 screen, and it works fine.

Can i use this module to give it a go with 3 screens at the same time ? Greets Wouter


MarkMLl

  • Hero Member
  • *****
  • Posts: 8574
Re: Multiple SSD1306 on Raspberrry3 in Freepascal
« Reply #1 on: November 06, 2022, 05:35:58 pm »
The module does appear to have signals marked A0..A2 so it's reasonable to assume that they allow the bus address to be selected. So at that point all you have to do is find where the support software is specifying the address, and either have three separate libraries with hardwired addresses or find out how to add an address parameter to e.g. a .Create constructor.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

 

TinyPortal © 2005-2018