Run a Micro Dot pHat without a Pi


#1

Has anyone run a Micro Dot pHat on anything that is not a Pi?

As it is just an I2C interface is there any reason (apart from supported libraries??) that I could not run it from a Micropython or ESP8266 for example?

p.s. new here - is it sacrilege to NOT use a Pi in these parts???


#2

sure, that would work.


#3

Showing my glaring lack of knowledge here, how much of the microdot pHAT stuff below can be cut out while keeping basic text functionality? I assume Sphinx, Documentation, images are not required.
I don’t think things like numpy will work on MicroPython either…

· Documentation
o Function-ref.md
o Technical-ref.md
· Examples
o README.md
o Advanced-scrolling.py (time)
o Clock.py (datetime, time)
o Fading-text.py (math, time)
o Flash.py (time)
o Graph.py (sleep>time, random>randint)
o Scrolling-text.py (time, sys)
o Sine-wave.py (math, time)
o Thermal.py (datetime, time)
o Tiny-font.py (time)
o Vertical-text.py (time)
· Library
o Microdotphat
§ init.py (atexit, numpy)
§ Font/py
§ Matrix.py (smbus)
o Setup.py (setup>setuptools, setup>distutil.core)
o License.txt
o Changelog.txt
o Readme.txt
o Manifest.in
o Readme.md
· Packaging
o Debian
§ Source
· Format
· options
§ README
§ Changelog
§ Clean
§ Compat
§ Control
§ Copyright
§ Docs
§ Python-microdotphat-doc.doc-base
§ Python-microdotphat-doc.doc
§
§ base
o Changelog
o Makedeb.sh
o Makedoc.sh
o Makelog.sh
· Sphinx
o Static
§ Pinout.jpg
o Examples
§ 1
§ 2
o Getting started
§ 1
§ 2
§ 3
o Reference
§ Python.rst
o Techincal
§ Driver.rst
§ Matrix.rst
o .gotignore
o Makefile
o Conf/py
o Indev.rst
o Sphinx-build
· .gitignore
· Readme.md
· logo.png
· terminal.jpg


#4

I’m not sure I understand the question. You asked whether it could be used with other microprocessors, the answer is yes, but you would need to write your own library (or find someone who has).

I suspect it would be possible to adapt the official python library, but you’d have to rewrite the hardware abstraction as a minimum, and yes, quite possibly rewrite an api that fills the gap for the functionality that numpy provides in this specific context.

The main, and I’d guess only, interest in the repository would therefore be the library itself, if nothing else to study and mimic: