Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
JeongJun-Lee committed Feb 12, 2023
1 parent f19faf8 commit 74199ac
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/playground/blocks/hardware/block_arduino_ext.js
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ Entry.ArduinoExt.getBlocks = function() {
js: [],
py: [
{
syntax: 'Arduino.analogRead(%1)',
syntax: 'ArduinoExt.analogRead(%1)',
blockType: 'param',
textParams: [
{
Expand Down Expand Up @@ -490,7 +490,7 @@ Entry.ArduinoExt.getBlocks = function() {
js: [],
py: [
{
syntax: 'Arduino.map(%1, %2, %3, %4, %5)',
syntax: 'ArduinoExt.map(%1, %2, %3, %4, %5)',
blockType: 'param',
textParams: [
{
Expand Down Expand Up @@ -580,7 +580,7 @@ Entry.ArduinoExt.getBlocks = function() {
js: [],
py: [
{
syntax: 'Arduino.ultrasonicRead(%1, %2)',
syntax: 'ArduinoExt.ultrasonicRead(%1, %2)',
blockType: 'param',
textParams: [
{
Expand Down Expand Up @@ -645,7 +645,7 @@ Entry.ArduinoExt.getBlocks = function() {
js: [],
py: [
{
syntax: 'Arduino.digitalRead(%1)',
syntax: 'ArduinoExt.digitalRead(%1)',
blockType: 'param',
textParams: [
{
Expand Down Expand Up @@ -732,7 +732,7 @@ Entry.ArduinoExt.getBlocks = function() {
js: [],
py: [
{
syntax: 'Arduino.dhtTempHumiInit(%1)',
syntax: 'ArduinoExt.dhtTempHumiInit(%1)',
blockType: 'param',
textParams: [
{
Expand Down Expand Up @@ -790,7 +790,7 @@ Entry.ArduinoExt.getBlocks = function() {
},
syntax: {
js: [],
py: [{syntax: 'Arduino.temperatureRead()'}],
py: [{syntax: 'ArduinoExt.temperatureRead()'}],
ar: [{syntax: 'dht.readTemperature()'}]
},
},
Expand Down Expand Up @@ -839,7 +839,7 @@ Entry.ArduinoExt.getBlocks = function() {
},
syntax: {
js: [],
py: [{syntax: 'Arduino.humidityRead()'}],
py: [{syntax: 'ArduinoExt.humidityRead()'}],
ar: [{syntax: 'dht.readHumidity()'}]
},
},
Expand Down Expand Up @@ -965,7 +965,7 @@ Entry.ArduinoExt.getBlocks = function() {
js: [],
py: [
{
syntax: 'Arduino.digitalWrite(%1, %2)',
syntax: 'ArduinoExt.digitalWrite(%1, %2)',
textParams: [
{
type: 'Block',
Expand Down Expand Up @@ -1043,7 +1043,7 @@ Entry.ArduinoExt.getBlocks = function() {
js: [],
py: [
{
syntax: 'Arduino.analogWrite(%1, %2)',
syntax: 'ArduinoExt.analogWrite(%1, %2)',
textParams: [
{
type: 'Block',
Expand Down Expand Up @@ -1357,7 +1357,7 @@ Entry.ArduinoExt.getBlocks = function() {
js: [],
py: [
{
syntax: 'Arduino.tone(%1, %2, %3, %4)',
syntax: 'ArduinoExt.tone(%1, %2, %3, %4)',
textParams: [
{
type: 'Block',
Expand Down Expand Up @@ -1442,7 +1442,7 @@ Entry.ArduinoExt.getBlocks = function() {
js: [],
py: [
{
syntax: 'Arduino.servomotorWrite(%1, %2)',
syntax: 'ArduinoExt.servomotorWrite(%1, %2)',
textParams: [
{
type: 'Block',
Expand Down Expand Up @@ -1578,7 +1578,7 @@ Entry.ArduinoExt.getBlocks = function() {
js: [],
py: [
{
syntax: 'Arduino.steppermotorWrite(%1, %2, %3, %4, %5, %6)',
syntax: 'ArduinoExt.steppermotorWrite(%1, %2, %3, %4, %5, %6)',
textParams: [
{
type: 'Block',
Expand Down

0 comments on commit 74199ac

Please sign in to comment.