eupolicy.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
This Mastodon server is a friendly and respectful discussion space for people working in areas related to EU policy. When you request to create an account, please tell us something about you.

Server stats:

192
active users

#micropython

0 posts0 participants0 posts today
Matt Trentini<p>We have a new release of <a href="https://fosstodon.org/tags/MicroPython" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MicroPython</span></a> v1.26 dropped yesterday and has added I2CTarget (aka I2C Slave) and a whole plethora of improvements and refinements.</p><p><a href="https://github.com/micropython/micropython/releases/tag/v1.26.0" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/micropython/micropy</span><span class="invisible">thon/releases/tag/v1.26.0</span></a></p>
Alexandre B A Villares 🐍<p><span class="h-card" translate="no"><a href="https://cupoftea.social/@ukscone" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>ukscone</span></a></span> WOW!<br><a href="https://ciberlandia.pt/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> <a href="https://ciberlandia.pt/tags/OpenCV" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OpenCV</span></a> <a href="https://ciberlandia.pt/tags/MicroPython" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MicroPython</span></a>!</p>
Alexandre B A Villares 🐍<p><span class="h-card" translate="no"><a href="https://techhub.social/@negative12dollarbill" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>negative12dollarbill</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.bsd.cafe/@Dendrobatus_Azureus" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>Dendrobatus_Azureus</span></a></span> Mu is great, but I believe the project is going to be sunset. Another great IDE for beginners learning <a href="https://ciberlandia.pt/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> is <a href="https://ciberlandia.pt/tags/ThonnyIDE" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ThonnyIDE</span></a> <a href="https://thonny.org" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">thonny.org</span><span class="invisible"></span></a> I use to teach "Drawing with Python and <a href="https://ciberlandia.pt/tags/py5" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>py5</span></a>" (It also has support for <a href="https://ciberlandia.pt/tags/MicroPython" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MicroPython</span></a>)</p>
Sustainable Sailing<p>Also this article <a href="https://randomnerdtutorials.com/raspberry-pi-pico-w-bluetooth-low-energy-micropython/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">randomnerdtutorials.com/raspbe</span><span class="invisible">rry-pi-pico-w-bluetooth-low-energy-micropython/</span></a> another potential option for getting the data from our <a href="https://mas.to/tags/Bluetooth" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Bluetooth</span></a> batteries using <a href="https://mas.to/tags/micropython" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>micropython</span></a> on a <a href="https://mas.to/tags/pipico2w" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pipico2w</span></a> <br>They have what looks a good book too <a href="https://randomnerdtutorials.com/raspberry-pi-pico-w-micropython-ebook/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">randomnerdtutorials.com/raspbe</span><span class="invisible">rry-pi-pico-w-micropython-ebook/</span></a></p>
Stylus<p>ooh interesting. Someone else is working on MicroPython for m68k.</p><p>I just discovered <a href="https://github.com/yunkya2/micropython-x68k/tree/port-x68k/ports/x68k" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/yunkya2/micropython</span><span class="invisible">-x68k/tree/port-x68k/ports/x68k</span></a> The documentation is all in Japanese and I haven't plugged it into a translator yet to find out the details except that possibly this version is for Sharp X680x0.</p><p><a href="https://social.afront.org/tags/retroComputing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>retroComputing</span></a> <a href="https://social.afront.org/tags/m68k" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>m68k</span></a>-micropython <a href="https://social.afront.org/tags/micropython" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>micropython</span></a></p>
Jonathan Hogg<p>Fuck me! A PR I opened adding PCNT support to the ESP32 <a href="https://mastodon.social/tags/MicroPython" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MicroPython</span></a> port *four* years ago last week has just been merged!</p><p>Which is great news as I've got two projects in flight that are going to need it and I can finally stop maintaining my own fork</p>
Mike Bell<p>Watching the <a class="hashtag" rel="nofollow noopener" href="https://bsky.app/search?q=%23Micropython" target="_blank">#Micropython</a> test suite running on TinyQV, my Risc-V SoC. An increasing number of tests pass 😅 With the <a class="hashtag" rel="nofollow noopener" href="https://bsky.app/search?q=%23TinyTapeout" target="_blank">#TinyTapeout</a> competition using it, I'm trying to make sure there's no lurking issues!</p>
RevK :verified_r:<p>I have a few of these, well, will have a few more over next week...</p><p><a href="https://www.tindie.com/products/revk/esp32-s3-mini-1-n4-r2-dev-board-all-gpios/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">tindie.com/products/revk/esp32</span><span class="invisible">-s3-mini-1-n4-r2-dev-board-all-gpios/</span></a></p><p>I am tweaking the design but all of them do 2A 3.3V power for many peripherals, and ALL the GPIOs for an ESP32-S3-MINI-1-N4-R2, and a single WS2812 LED.</p><p>USB-C and DC 5V-17V</p><p>They are ideal for anyone wanting to play around with these processors, whether native ESP IDF, <a href="https://toot.me.uk/tags/micropython" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>micropython</span></a>, <a href="https://toot.me.uk/tags/arduino" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>arduino</span></a>, or whatever.</p>
Stylus<p><a href="https://social.afront.org/tags/m68kMicroPython" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>m68kMicroPython</span></a> happenings: The "struct-types" branch is coming along. There are now autogenerated bindings for the following parts of the API: modmactypes.c<br>modqd.c<br>modtoolboxevent.c<br>modtoolboxutil.c<br>modwindowmgr.c</p><p>there's probably broken stuff but for instance you can now splat directly onto the screen</p><pre><code>&gt;&gt;&gt; scrn = qd.qdGlobals().screenBits<br>&gt;&gt;&gt; n = scrn.bounds.bottom * scrn.rowBytes<br>&gt;&gt;&gt; for i in range(n): scrn.baseAddr[i] = i<br></code></pre><p>and types are checked:</p><pre><code>&gt;&gt;&gt; qd.FillRect(7, "blue")<br>Traceback (most recent call last):<br> File "&lt;stdin&gt;", line 1, in &lt;module&gt;<br>TypeError: Expected int, got Rect<br></code></pre><p>um well except the error message is backwards 💦 </p><p>and in upstream <a href="https://social.afront.org/tags/micropython" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>micropython</span></a> land my exploration found that there were problems with the uctypes module and "REPR_B", so I'm working on fixing that and ensuring it stays fixed via the CI system: <a href="https://github.com/micropython/micropython/pull/17688" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/micropython/micropy</span><span class="invisible">thon/pull/17688</span></a></p><p>right at the moment, the micropython PR is failing for some reason that will probably be more obvious to me once I've had another night to recover from jet lag.</p>
jbz<p>🦾 Why Lua Beats MicroPython for Serious Embedded Devs </p><p>「 Lua isn’t just compatible with embedded systems; the Lua ANSI C library was designed for them. Its architecture is clean, compact, and deterministic.</p><p>MicroPython, on the other hand, is a reimplementation of Python 3. It works well for many embedded use cases, but it inherits assumptions from a desktop-oriented language 」</p><p><a href="https://www.embedded.com/why-lua-beats-micropython-for-serious-embedded-devs" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">embedded.com/why-lua-beats-mic</span><span class="invisible">ropython-for-serious-embedded-devs</span></a></p><p><a href="https://indieweb.social/tags/lua" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lua</span></a> <a href="https://indieweb.social/tags/micropython" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>micropython</span></a> <a href="https://indieweb.social/tags/embedded" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>embedded</span></a></p>
dov<p>I just published a <a href="https://fosstodon.org/tags/micropython" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>micropython</span></a> <a href="https://fosstodon.org/tags/mqtt" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>mqtt</span></a> server and <a href="https://fosstodon.org/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> client for accessing a remote filesystem on a micropython device by mqtt.</p><p>See:</p><p><a href="https://github.com/dov/upython-mqtt-file-server" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/dov/upython-mqtt-fi</span><span class="invisible">le-server</span></a></p><p>Meanwhile I have used it for uploading photos to my <a href="https://fosstodon.org/tags/pimoroni" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pimoroni</span></a> <a href="https://fosstodon.org/tags/presto" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>presto</span></a> device.</p><p>This library solves the "grandma problem" of how to place a photo frame on grandma's mantle piece and push images to it without her interaction.</p>
Poul-Henning Kamp<p>I am a sucker for opto-electronics, so got this discarded kit (ex CNN's London studio?)</p><p>Each button has a 36x24 LCD display and red+green LEDS.</p><p>Well-designed hardware: ColdFire (=68k) CPU, plenty of RAM, plenty of FLASH, serial port, ethernet etc.</p><p>Firmware ? Not so impressive, but very easy to get rid of:</p><p>Anybody can flash new firmware from ethernet: No userid, no password, all you need to know is the IP# and how they botched their CRC-16 implementation.</p><p>Now it runs <a href="https://fosstodon.org/tags/MicroPython" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MicroPython</span></a> :-)</p>
Mike Coats 🏴󠁧󠁢󠁳󠁣󠁴󠁿🇪🇺🌍♻️<p>My latest blog post: Metronalmost</p><p><a href="https://mikecoats.com/metronalmost/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">mikecoats.com/metronalmost/</span><span class="invisible"></span></a></p><p>This metronome, by design, will never, ever, tick exactly once per second. This infuriating object is designed to thwart the goals of <span class="h-card" translate="no"><a href="https://hackaday.social/@hackaday" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>hackaday</span></a></span>'s One Hertz Challenge contest.</p><p><a href="https://mikecoats.social/tags/code" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>code</span></a> <a href="https://mikecoats.social/tags/electronics" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>electronics</span></a> <a href="https://mikecoats.social/tags/hackaday" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>hackaday</span></a> <a href="https://mikecoats.social/tags/microPython" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>microPython</span></a> <a href="https://mikecoats.social/tags/openSource" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>openSource</span></a> <a href="https://mikecoats.social/tags/openHardware" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>openHardware</span></a></p>
Stylus<p>I went ahead and created a github organization for a fresh fork of micropython, and then made a release. You can get a fresh dsk of this micropython mac port from <a href="https://github.com/m68k-micropython/micropython/releases" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/m68k-micropython/mi</span><span class="invisible">cropython/releases</span></a> and as <span class="h-card" translate="no"><a href="https://oldbytes.space/@smallsco" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>smallsco</span></a></span> noted it works on infinitemac.org</p><p><a href="https://social.afront.org/tags/umac" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>umac</span></a> <a href="https://social.afront.org/tags/microPython" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>microPython</span></a> <a href="https://social.afront.org/tags/retro68" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>retro68</span></a> <a href="https://social.afront.org/tags/macintosh" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>macintosh</span></a> <a href="https://social.afront.org/tags/retroComputing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>retroComputing</span></a></p>
Stylus<p>Doing a little iterative code development in micropython on an emulated m68k mac... I might not be so happy with the loading time if a real floppy was involved, but in an emulator it's heckin' snappy.</p><p>Clearly I need to tackle the issue that you can't <u>REALLY</u> draw to the same window as the terminal....</p><p><a href="https://social.afront.org/tags/micropython" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>micropython</span></a> <a href="https://social.afront.org/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://social.afront.org/tags/retroComputing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>retroComputing</span></a> <a href="https://social.afront.org/tags/retro68" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>retro68</span></a> <a href="https://social.afront.org/tags/macintosh" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>macintosh</span></a> <a href="https://social.afront.org/tags/m68k" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>m68k</span></a></p>
Stylus<p>Now you can witness one of the first quickdraw calls from MicroPython on mac... 🎉 ⬛ </p><p><a href="https://social.afront.org/tags/micropython" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>micropython</span></a> <a href="https://social.afront.org/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a> <a href="https://social.afront.org/tags/retrocomputing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>retrocomputing</span></a> <a href="https://social.afront.org/tags/retro68" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>retro68</span></a> <a href="https://social.afront.org/tags/macintosh" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>macintosh</span></a> <a href="https://social.afront.org/tags/m68k" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>m68k</span></a></p>
AxWax<p>how it started: "let's try to get started on a set for my <a href="https://chaos.social/tags/RFFF25" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RFFF25</span></a> gig"</p><p>how it's going: "attempting (and so far failing) to completely rewrite some 2-year-old <a href="https://chaos.social/tags/MicroPython" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MicroPython</span></a> code on my DIY MIDI to CV interface" 😩</p>
Laurens Valk<p><span class="h-card" translate="no"><a href="https://fosstodon.org/@cymplecy" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>cymplecy</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.social/@lpoolmakefest" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>lpoolmakefest</span></a></span> <br>and in case you want to use <a href="https://fosstodon.org/tags/MicroPython" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MicroPython</span></a> on this thing:<br><a href="https://pybricks.com/project/technic-42146-powered-up-remote/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">pybricks.com/project/technic-4</span><span class="invisible">2146-powered-up-remote/</span></a></p>
Xavi<p>Is there anyone in the room with knowledge about <a href="https://talamanca.social/tags/ESP32" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ESP32</span></a> microcontrollers?</p><p>I am playing with a <a href="https://talamanca.social/tags/Waveshare" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Waveshare</span></a> development board that has an <a href="https://talamanca.social/tags/AMOLED" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AMOLED</span></a> and a touchscreen, and it says it has built-in <a href="https://talamanca.social/tags/SH8601" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SH8601</span></a> display driver and <a href="https://talamanca.social/tags/FT3168" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FT3168</span></a> capacitive touch chip, using <a href="https://talamanca.social/tags/QSPI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>QSPI</span></a> and <a href="https://talamanca.social/tags/I2C" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>I2C</span></a> communication respectively.</p><p><a href="https://www.waveshare.com/product/arduino/boards-kits/esp32-s3-touch-amoled-1.8.htm" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">waveshare.com/product/arduino/</span><span class="invisible">boards-kits/esp32-s3-touch-amoled-1.8.htm</span></a></p><p>It directly works in <a href="https://talamanca.social/tags/Arduino" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Arduino</span></a> with <a href="https://talamanca.social/tags/C" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>C</span></a>, but I am trying to make it work with <a href="https://talamanca.social/tags/MicroPython" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MicroPython</span></a>. </p><p>Before I spend effort trying to compile it with <a href="https://talamanca.social/tags/LVGL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LVGL</span></a>, I want to know if I could print a "Hello World" to the screen as is, and while my mind tells me that I need a driver, the sentence "built-in display driver using QSPI" makes me think that I could eventually use the display without code drivers, but I don't know how.</p><p>I'd love to see an example, if it's possible, or to be pointed to any resources that I can read in this regard. I am complete newbie.</p><p>Re-posts are appreciated.</p><p>Thank in advance 😊</p>
Stylus<p>asyncio is working on mac micropython!</p><p>also (not shown here) the "sys.stdin" object is pollable, and you can double-click a python file to run it as the main code file.</p><p><a href="https://social.afront.org/tags/micropython" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>micropython</span></a><br><a href="https://social.afront.org/tags/python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>python</span></a><br><a href="https://social.afront.org/tags/retrocomputing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>retrocomputing</span></a><br><a href="https://social.afront.org/tags/retro68" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>retro68</span></a><br><a href="https://social.afront.org/tags/macintosh" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>macintosh</span></a><br><a href="https://social.afront.org/tags/m68k" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>m68k</span></a></p>