tinkertanker / pxt-oled-ssd1306 Goto Github PK
View Code? Open in Web Editor NEWTinkercademy MakeCode package for using the SSD1306 OLED controller with micro:bit
License: MIT License
Tinkercademy MakeCode package for using the SSD1306 OLED controller with micro:bit
License: MIT License
length is property, drop the ()
.
Line 151 in 0f12706
新版本的和旧版本有什么区别?以前的工程在新的编程网站上编译出问题。是改了哪些底层呢?
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
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
You need to create a github tag for each release. Use pxt bump
to automate the process.
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 a icon.png image in the root folder. It will be used when displaying the package in the "Add package" dialog. <100kb is best.
在我的ubuntu虚拟机下,我想使用离线编译。我按照文档:https://makecode.com/packages/pxtJson,但是我无法找到我本地库的路径:
我在 "dependencies"下加入LCD1in8积木块,但是提示cannot load package:can't convert null to object.
{
"name": "Untitled",
"dependencies": {
"core": "",
"radio": "",
"LCD1in8": "file:~/microbit/LCD1in8"
},
"description": "",
"files": [
"main.blocks",
"main.ts",
"README.md"
]
}
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
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?
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.