kopia lustrzana https://github.com/backface/turtlestitch
"serial ports" library
rodzic
c40d8ed124
commit
db3b976430
|
@ -21,6 +21,7 @@
|
|||
### 2021-07-05
|
||||
* gui: unified palette: indicate "selected" category in selector buttons
|
||||
* extensions: web-serial extension primitives, pioneered by Dariusz Dorożalski
|
||||
* added new "serial ports" library
|
||||
|
||||
### 2021-07-04
|
||||
* fixed audio_comp library "plot sound" block to work with translations, thanks, Hans, for the report!
|
||||
|
|
|
@ -21,6 +21,10 @@ localstorage_module.xml Database Persistent key-value storage across Snap! sessi
|
|||
~ ~
|
||||
~ ~
|
||||
~ ~
|
||||
serial_module.xml Serial Ports Connect to hardware extensions through the Web Serial API (Chromium, Chrome or Edge required)
|
||||
~ ~
|
||||
~ ~
|
||||
~ ~
|
||||
word-sentence.xml Words, sentences One of the big ideas in Logo that they left out of Scratch is thinking of text as structured into words and sentences, rather than just a string of characters. This library brings back that idea.
|
||||
strings.xml Strings, Multi-line input Extract substrings of a string in various ways. In general, text inputs allow only a single line. The MULTILINE block accepts multi-line text input and can be used in text input slots of other blocks.
|
||||
apl.xml APL primitives Adds features from the APL language supporting hyperblocks.
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
<blocks app="Snap! 7dev, https://snap.berkeley.edu" version="2"><block-definition s="WEBSer $flag-1-0-255-0 open %'baudRate'" type="reporter" category="other"><header></header><code></code><translations></translations><inputs><input type="%n">115200<options>9600
19200
38400
57600
115200</options></input></inputs><script><block s="doReport"><block s="reportApplyExtension"><l>srl_open(baud, buffer)</l><list><block var="baudRate"/><l>15000</l></list></block></block></script></block-definition><block-definition s="WEBSer $flag-1-255-0-0 close %'port'" type="command" category="other"><comment x="0" y="0" w="90" collapsed="true">Close port.</comment><header></header><code></code><translations></translations><inputs><input type="%s" readonly="true">port</input></inputs><script><block s="doApplyExtension"><l>srl_close(port)</l><list><block var="port"/></list></block></script></block-definition><block-definition s="WEBSer $flash-1-0-255-0 read %'port'" type="reporter" category="other"><header></header><code></code><translations></translations><inputs><input type="%s">port</input></inputs><script><block s="doReport"><block s="reportApplyExtension"><l>srl_read(port)</l><list><block var="port"/></list></block></block></script></block-definition><block-definition s="WEBSer $flash-1-0-255-0 write %'port' %'bytes'" type="command" category="other"><comment x="0" y="0" w="193.33528645833292" collapsed="true">Write to the port a list containing numbers</comment><header></header><code></code><translations></translations><inputs><input type="%s">port</input><input type="%l"></input></inputs><script><block s="doApplyExtension"><l>srl_write(port, bytes)</l><list><block var="port"/><block var="bytes"/></list></block></script></block-definition></blocks>
|
Ładowanie…
Reference in New Issue