Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added NodeMCU board support. #173

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# Ardublockly fork

This is a fork of [carlosperate/ardublockly][18] visual programming editor for Arduino: https://github.com/carlosperate/ardublockly

It adds the following features:
- Added NodeMCU support

It fixes the following issues:
- Fixed Wemos D1 R2 pin D6, D7
- Changed input validation for analogwrite, value range 0-1023 for ESP8266 and 0-255 for the rest

[Latest release download link][19]

# Ardublockly
Ardublockly is a visual programming editor for Arduino. It is based on Google's [Blockly][1], which has been forked to generate [Arduino][15] code.

Expand Down Expand Up @@ -124,6 +137,8 @@ limitations under the License.
[15]: http://www.arduino.cc
[16]: https://github.com/BlocklyDuino/BlocklyDuino
[17]: blockly/README.md
[18]: https://github.com/carlosperate/ardublockly
[19]: https://github.com/flsg/ardublockly/releases/download/v0.1.3/ardublockly_Linux64_2017-06-03_02.44.zip

[desktop_screeshot]: http://carlosperate.github.io/ardublockly/images/screenshot_desktop_1.png
[web_screenshot_responsive]: http://carlosperate.github.io/ardublockly/images/screenshot_material_all_small.jpg
Expand Down
3 changes: 2 additions & 1 deletion ardublocklyserver/compilersettings.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ class ServerCompilerSettings(object):
'Atmel atmega328pb Xplained mini':
'atmel:avr:atmega328pb_xplained_mini',
'ESP8266 Huzzah': 'esp8266:esp8266:generic',
'ESP8266 WeMos D1': 'esp8266:esp8266:generic'}
'ESP8266 WeMos D1': 'esp8266:esp8266:generic',
'ESP8266 NodeMCU': 'esp8266:esp8266:generic'}

# Class dictionary to contain the computer COM ports, dynamic content
__serial_ports = {'port0': 'COM1'}
Expand Down
100 changes: 51 additions & 49 deletions blockly/arduino_compressed.js

Large diffs are not rendered by default.

347 changes: 169 additions & 178 deletions blockly/blockly_compressed.js

Large diffs are not rendered by default.

2,955 changes: 1,510 additions & 1,445 deletions blockly/blockly_uncompressed.js

Large diffs are not rendered by default.

262 changes: 131 additions & 131 deletions blockly/blocks_compressed.js

Large diffs are not rendered by default.

92 changes: 46 additions & 46 deletions blockly/dart_compressed.js

Large diffs are not rendered by default.

Loading