Coder Social home page Coder Social logo

pxt-oled-ssd1306's People

Contributors

atrus159 avatar elecfreaks1 avatar firemansamm avatar jensenhuangyankai avatar jwunderl avatar nioq avatar ranaldmiao avatar shaunleong avatar xmeow avatar yjsoon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pxt-oled-ssd1306's Issues

how can i debug

Hello, I recently wanted to transplant my 1.8-inch LCD to micro:bit, but I have encountered some problems and I hope I can consult you. Can you teach me how you compile without BUG? Because of this I have no effective progress. Specifically this is:
I installed pxt under ubuntu, then programmed my c++ file, and also configured the .ts file, then I pushed them to github, and I downloaded it on makecod, and then when I dragged the blocks , there is a problem with the code. However, the browser did not give my specific and specific tips. I hope you can take your precious time and help me. The detailed code is on my github: https://github.com/hnwangkg-ezio/LCD1in8

Errors when using graphics function

When using draw line or drawing a box I get wrong graphics. The Line or the box is splitted on my 64x128 Display.
showprogress works correctly.
Ah it works when i complete shut off the LCD-display

configurable I2C address

Hello,

I See that you have blocks that allow you to change the size of the display, but it would be nice to be able to change/configure the I2C address so that you can use other companies displays with this package such as the one from SparkFun here and/or here

release missing

You need to create a github tag for each release. Use pxt bump to automate the process.

Name in Chinese is not match

The following Chinese version is wrong:
"OLED.writeNumNewLine|block": "显示数字 $n",
"OLED.writeNum|block": "新行显示数字 $n",

It should be:
"OLED.writeNumNewLine|block": "新行显示数字 $n",
"OLED.writeNum|block": "显示数字 $n",

Add icon.png for package dialog

Add a icon.png image in the root folder. It will be used when displaying the package in the "Add package" dialog. <100kb is best.

Can't complie after adding the extension

As mentioned in the title, compilation fails after adding the extension.

makecode.microbit.org version: 2.0.3

Microsoft MakeCode version: 5.15.10

microbit runtime version: pxtgc-0

Can't display string

When using the new version of the PXT editor (makecode), I am unable to display a string. Instead of a string, a random symbol is shown on the display. Numbers are still working fine.

Wondering if that could be a buffer or simply a character set issue with the new editor.
Has anyone tested it yet and can confirm the issue?

only half of words can be see

as I use oled-091 which is 128*32, it only show half of words
a62c7fef-5449-4512-bbd2-8922338bfb38
my code are here, I am a newbie for microbit, is it any way to slove it?
image

Issue when using 32 x 128 displays

microbit support: 19778

When using a smaller, 32x128 OLED with this package, it does not update with every new line.
Initially the first line is displayed then it only updates every second time.
Also same result with 'show string "..."'
Works as expected on larger 64x128 OLED

oled code example

v0-compatiable access of data field

Use this macro to access the data field in v1 and v0 safely.

// v0 backward compat support
#ifndef PXT_BUFFER_DATA
#define PXT_BUFFER_DATA(buffer) buffer->payload
#endif

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.