Skip to content

Commit

Permalink
add blocks for LoRa, etc
Browse files Browse the repository at this point in the history
RT_DS32231
LoRa
Adafruit SSD1306
  • Loading branch information
SebCanet committed Aug 24, 2020
1 parent 2b195ba commit 3ce8017
Show file tree
Hide file tree
Showing 15 changed files with 2,169 additions and 2 deletions.
521 changes: 521 additions & 0 deletions blocks/Adafruit/Adafruit_SSD1306/Adafruit_SSD1306.js

Large diffs are not rendered by default.

81 changes: 81 additions & 0 deletions blocks/Adafruit/Adafruit_SSD1306/blocks_typing.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
Blockly.Blocks.SSD1306_init.getBlockType = function() {
return Blockly.Types.NUMBER;
};

Blockly.Blocks.SSD1306_display.getBlockType = function() {
return Blockly.Types.NUMBER;
};

Blockly.Blocks.SSD1306_clearDisplay.getBlockType = function() {
return Blockly.Types.NUMBER;
};

Blockly.Blocks.SSD1306_invertDisplay.getBlockType = function() {
return Blockly.Types.NUMBER;
};

Blockly.Blocks.SSD1306_drawPixel.getBlockType = function() {
return Blockly.Types.NUMBER;
};

Blockly.Blocks.SSD1306_drawLine.getBlockType = function() {
return Blockly.Types.NUMBER;
};

Blockly.Blocks.SSD1306_drawRect.getBlockType = function() {
return Blockly.Types.NUMBER;
};

Blockly.Blocks.SSD1306_drawCircle.getBlockType = function() {
return Blockly.Types.NUMBER;
};

Blockly.Blocks.SSD1306_drawRoundRect.getBlockType = function() {
return Blockly.Types.NUMBER;
};

Blockly.Blocks.SSD1306_drawTriangle.getBlockType = function() {
return Blockly.Types.NUMBER;
};

Blockly.Blocks.SSD1306_setTextSize.getBlockType = function() {
return Blockly.Types.NUMBER;
};

Blockly.Blocks.SSD1306_setTextColour.getBlockType = function() {
return Blockly.Types.NUMBER;
};

Blockly.Blocks.SSD1306_setCursor.getBlockType = function() {
return Blockly.Types.NUMBER;
};

Blockly.Blocks.SSD1306_cp437.getBlockType = function() {
return Blockly.Types.NUMBER;
};

Blockly.Blocks.SSD1306_write.getBlockType = function() {
return Blockly.Types.NUMBER;
};

Blockly.Blocks.SSD1306_println.getBlockType = function() {
return Blockly.Types.NUMBER;
};

Blockly.Blocks.SSD1306_print.getBlockType = function() {
return Blockly.Types.NUMBER;
};


Blockly.Blocks.SSD1306_width.getBlockType = function() {
return Blockly.Types.NUMBER;
};

Blockly.Blocks.SSD1306_startscroll.getBlockType = function() {
return Blockly.Types.NUMBER;
};

Blockly.Blocks.SSD1306_stopscroll.getBlockType = function() {
return Blockly.Types.NUMBER;
};

Loading

0 comments on commit 3ce8017

Please sign in to comment.