# OLED extension with 7-segment and paint feature

**URL:** <https://forum.makecode.com/t/oled-extension-with-7-segment-and-paint-feature/8038>\
**Category:** micro:bit extensions\
**Created:** [May 12, 2021, 3:48pm UTC](https://forum.makecode.com/t/oled-extension-with-7-segment-and-paint-feature/8038 "2021-05-12T15:48:30Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![MKleinSB](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mkleinsb/32/593_2.png) [@MKleinSB](https://forum.makecode.com/u/MKleinSB)\
**Post date:** [May 12, 2021, 3:48pm UTC](https://forum.makecode.com/t/oled-extension-with-7-segment-and-paint-feature/8038/1 "2021-05-12T15:48:30Z")

</div>

Extended the Kitronik View extension to easily paint pictures and to have an easy 7-segment display!

> **[MKleinSB/pxt-OLEDpaint](https://github.com/MKleinSB/pxt-OLEDpaint)**
>
> SSD1306 7-segment and functions to paint on your OLED

 ![grafik](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/a/af65ec15e39790207f3d94e726ae5ef2ff951b65.jpeg)

---

<div class="post-metadata">

**Author:** ![narongporn](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/narongporn/32/2222_2.png) [@narongporn](https://forum.makecode.com/u/narongporn)\
**Post date:** [August 23, 2021, 6:42pm UTC](https://forum.makecode.com/t/oled-extension-with-7-segment-and-paint-feature/8038/2 "2021-08-23T18:42:21Z")

</div>

Thanks for creating great extension.  
I am waiting for it.

I have try all the blocks in these extension, but only these 2 blocks

- paint number at position
- paint segment at position

what are these command do?  
How to use them?

Best regards,  
Narongporn L.

---

<div class="post-metadata">

**Author:** ![MKleinSB](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mkleinsb/32/593_2.png) [@MKleinSB](https://forum.makecode.com/u/MKleinSB)\
**Post date:** [August 26, 2021, 2:29pm UTC](https://forum.makecode.com/t/oled-extension-with-7-segment-and-paint-feature/8038/3 "2021-08-26T14:29:31Z")

</div>

paint number draws a Digit at a specified position  
paint segment (A-G) draws parts A-F of the Digitnumber. To show negative numbers you can use the segment G.  
Don´t forget to use “refresh display” from the paint category at the end.

![grafik](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/2/280f7826564aa478c14e2e257f5693fb4c7323ab.png)

Hope that helps!

Your Michael

---

<div class="post-metadata">

**Author:** ![frank\_schmidt](https://avatars.discourse-cdn.com/v4/letter/f/7993a0/32.png) [@frank\_schmidt](https://forum.makecode.com/u/frank_schmidt)\
**Post date:** [September 2, 2021, 3:06am UTC](https://forum.makecode.com/t/oled-extension-with-7-segment-and-paint-feature/8038/4 "2021-09-02T03:06:15Z")

</div>

This answers my earlier question about how to enlarge the digital read out on the small OLED on the DF Robot Micro:IoT board for Microbit. My first question is always: Do the extensions conflict? and here , no , they don’t. Yes your 7 segment display enlarges the numerals greatly so thanks so much for this Michael ! We can use this in class with ThingSpeak and IoT projects: [https://makecode.microbit.org/\_EckJgyP12eEv](https://makecode.microbit.org/_EckJgyP12eEv)

---

<div class="post-metadata">

**Author:** ![frank\_schmidt](https://avatars.discourse-cdn.com/v4/letter/f/7993a0/32.png) [@frank\_schmidt](https://forum.makecode.com/u/frank_schmidt)\
**Post date:** [September 7, 2021, 5:18pm UTC](https://forum.makecode.com/t/oled-extension-with-7-segment-and-paint-feature/8038/5 "2021-09-07T17:18:52Z")

</div>

Video: thank you MKlein for 7 seg. paint. Here Jason Davies shows how to use it and I put it on the DFRobot Micro:IoT .96 inch OLED. Code link in description of video:

[![](https://img.youtube.com/vi/z4U5mZ5WwOg/hqdefault.jpg "Jason Davies example of MKlein's OLED "Paint" extension . Bravo Jason and MKlein ! ! !") ](https://www.youtube.com/watch?v=z4U5mZ5WwOg)

---

<div class="post-metadata">

**Author:** ![frank\_schmidt](https://avatars.discourse-cdn.com/v4/letter/f/7993a0/32.png) [@frank\_schmidt](https://forum.makecode.com/u/frank_schmidt)\
**Post date:** [September 7, 2021, 8:17pm UTC](https://forum.makecode.com/t/oled-extension-with-7-segment-and-paint-feature/8038/6 "2021-09-07T20:17:11Z")

</div>

Video, more on this extension with OLED ; code by Jason Davies; extension by MKlein :

[![](https://img.youtube.com/vi/8dynnc31PTo/maxresdefault.jpg "Thanks Again Jason ! OLED with 7 seg. extension on Microbit and DFRobot Micro:IoT board") ](https://www.youtube.com/watch?v=8dynnc31PTo)

---

<div class="post-metadata">

**Author:** ![urassari](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/urassari/32/9535_2.png) [@urassari](https://forum.makecode.com/u/urassari)\
**Post date:** [September 18, 2023, 5:47pm UTC](https://forum.makecode.com/t/oled-extension-with-7-segment-and-paint-feature/8038/7 "2023-09-18T17:47:56Z")

</div>

i know this is 2 years old but this is really cool so here is some ideas to make this better(please do them this is the best extension i’ve ever seen):

- make the paint feature grid smaller (that IS possible, i saw a small grid in an extension one time but idk how they made that)
- backgrounds.  
this might be laggy.
- sprites.  
it would be the best thing ever.
- and also, collision.  
ok maybe that’s too hard to do but if you ever make collision and sprites,  
…  
i dont know what to say.

yeah uhh thats it if you do this i will uuuh um uh uuhm muhhuum huhm huhmhu mhu mhu mhumhuh muh mhum hu uhmu mhuhmmuhumhh umhumhumhh muh muh umhumhmuhhuhumhumhhumhhhumhumhumhumh _ **dies** _

---

<div class="post-metadata">

**Author:** ![urassari](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/urassari/32/9535_2.png) [@urassari](https://forum.makecode.com/u/urassari)\
**Post date:** [September 18, 2023, 6:43pm UTC](https://forum.makecode.com/t/oled-extension-with-7-segment-and-paint-feature/8038/8 "2023-09-18T18:43:47Z")

</div>

(by make the grid smaller i meant make the pixels in the grid smaller)

---

<div class="post-metadata">

**Author:** ![MKleinSB](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mkleinsb/32/593_2.png) [@MKleinSB](https://forum.makecode.com/u/MKleinSB)\
**Post date:** [September 19, 2023, 4:34pm UTC](https://forum.makecode.com/t/oled-extension-with-7-segment-and-paint-feature/8038/9 "2023-09-19T16:34:35Z")

</div>

Thanks for your feedback.  
I developed the extension for the calliope mini which has less memory than the new microbit so there would be a problem with new features and buffer for sprites and so on and currently I don´t have enough time for it, sorry.

Greetings

Michael

---

<div class="post-metadata">

**Author:** ![urassari](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/urassari/32/9535_2.png) [@urassari](https://forum.makecode.com/u/urassari)\
**Post date:** [September 25, 2023, 4:58pm UTC](https://forum.makecode.com/t/oled-extension-with-7-segment-and-paint-feature/8038/11 "2023-09-25T16:58:07Z")

</div>

@MKleinSB when are you planning to continue on this extension?

---

<div class="post-metadata">

**Author:** ![Brohann](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/brohann/32/17380_2.png) [@Brohann](https://forum.makecode.com/u/Brohann)\
**Post date:** [September 25, 2023, 4:58pm UTC](https://forum.makecode.com/t/oled-extension-with-7-segment-and-paint-feature/8038/12 "2023-09-25T16:58:32Z")

</div>

If you want to make and play your own games, I recommend getting some makecode arcade hardware. These days you can find them pretty cheap

---

<div class="post-metadata">

**Author:** ![urassari](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/urassari/32/9535_2.png) [@urassari](https://forum.makecode.com/u/urassari)\
**Post date:** [September 25, 2023, 6:19pm UTC](https://forum.makecode.com/t/oled-extension-with-7-segment-and-paint-feature/8038/13 "2023-09-25T18:19:41Z")

</div>

uuuhm… economy in other countries? did you forget about that?

---

<div class="post-metadata">

**Author:** ![Brohann](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/brohann/32/17380_2.png) [@Brohann](https://forum.makecode.com/u/Brohann)\
**Post date:** [September 25, 2023, 10:24pm UTC](https://forum.makecode.com/t/oled-extension-with-7-segment-and-paint-feature/8038/14 "2023-09-25T22:24:20Z")

</div>

What country do you live in? I could probably find a nice pygamer for you

---

<div class="post-metadata">

**Author:** ![urassari](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/urassari/32/9535_2.png) [@urassari](https://forum.makecode.com/u/urassari)\
**Post date:** [September 26, 2023, 6:27pm UTC](https://forum.makecode.com/t/oled-extension-with-7-segment-and-paint-feature/8038/15 "2023-09-26T18:27:30Z")

</div>

in türkiye (turkey), 1 dollar is 27 lira. so that means, in the [official website,](https://www.adafruit.com/product/4242) it costs 1227 turkish lira. if you want to, try to find the cheapest thing ever.

[the cheapest meowbit that i found.](https://tr.aliexpress.com/item/1005004329242457.html?src=google&aff_fcid=4a44eca5c56d407f9a2c3f139c880d65-1695734342804-07652-UneMJZVf&aff_fsk=UneMJZVf&aff_platform=aaf&sk=UneMJZVf&aff_trace_key=4a44eca5c56d407f9a2c3f139c880d65-1695734342804-07652-UneMJZVf&terminal_id=d77a47919c9c4b079f4b871128dcd693&afSmartRedirect=y)

---

<div class="post-metadata">

**Author:** ![urassari](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/urassari/32/9535_2.png) [@urassari](https://forum.makecode.com/u/urassari)\
**Post date:** [October 23, 2023, 4:48pm UTC](https://forum.makecode.com/t/oled-extension-with-7-segment-and-paint-feature/8038/16 "2023-10-23T16:48:41Z")

</div>

WOAH. i did all of that! i dont get the need of asking for these anymore! (because i already made them)

---

<div class="post-metadata">

**Author:** ![Brohann](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/brohann/32/17380_2.png) [@Brohann](https://forum.makecode.com/u/Brohann)\
**Post date:** [November 6, 2023, 7:37pm UTC](https://forum.makecode.com/t/oled-extension-with-7-segment-and-paint-feature/8038/17 "2023-11-06T19:37:11Z")

</div>

pygamers are now in stock!

---

<div class="post-metadata">

**Author:** ![urassari](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/urassari/32/9535_2.png) [@urassari](https://forum.makecode.com/u/urassari)\
**Post date:** [November 6, 2023, 7:49pm UTC](https://forum.makecode.com/t/oled-extension-with-7-segment-and-paint-feature/8038/18 "2023-11-06T19:49:24Z")

</div>

its **1.279** turkish lira.

---

<div class="post-metadata">

**Author:** ![Brohann](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/brohann/32/17380_2.png) [@Brohann](https://forum.makecode.com/u/Brohann)\
**Post date:** [November 6, 2023, 10:25pm UTC](https://forum.makecode.com/t/oled-extension-with-7-segment-and-paint-feature/8038/19 "2023-11-06T22:25:43Z")

</div>

if you **really** want it to be cheap, the pybadge LC is only 851.96 turkish lira

---

<div class="post-metadata">

**Author:** ![urassari](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/urassari/32/9535_2.png) [@urassari](https://forum.makecode.com/u/urassari)\
**Post date:** [November 7, 2023, 5:19pm UTC](https://forum.makecode.com/t/oled-extension-with-7-segment-and-paint-feature/8038/20 "2023-11-07T17:19:25Z")

</div>

woah! thanks!!! _😄_
