【文件属性】:
文件名称:led-recorder:将Wokwi中的LED动画导出到JSON Lines二进制文件中
文件大小:5KB
文件格式:ZIP
更新时间:2021-03-27 19:03:26
JavaScript
LED动画录像机
使用此工具将Wokwi的LED动画导出到 / 或二进制文件中。
用法
将以下部分添加到您的,指定条带/矩阵中的像素数:
{
" type " : " wokwi-neopixel-strip " ,
" id " : " neopixels " ,
" attrs " : { " pixels " : " 3 " }
}
请注意,部件ID必须为neopixels才能使记录仪正常工作。
然后添加一个customView:
" customView " : " https://wokwi.github.io/led-recorder " ,
完整的diagram.json文件的示例:
{
" version " : 1 ,
" author " : " Uri Shaked " ,
" editor " : " wokwi " ,
"
【文件预览】:
led-recorder-gh-pages
----index.html(706B)
----prettier.config.js(122B)
----LICENSE(1KB)
----styles.css(108B)
----led-recorder.js(4KB)
----README.md(4KB)
----.editorconfig(422B)