taweili / ardublock

ArduBlock is a Block Programming Language for Arduino.
GNU General Public License v3.0
414 stars 292 forks source link

Pin drop-down-list. Descriptions. Servo block bug. and tiny stuff #146

Closed TonyCallear closed 7 years ago

TonyCallear commented 8 years ago

I really, really, really like KarlTH idea of drop down lists for pins! I think they deserve improving and not hidden away in one ‘manufacturers draw’.

This edit extends that idea and …

Creates new pinLists in the main body of the code (DueinoEDU pinLists remain for compatibility and because manufacturers draws should only be edited by them? - for compatibility)

Provides different lists for different kinds of pins (Digital, Analogue, PWM) on different boards Standard blocks not in a special ‘manufacturers draw’ use new pinLists. Blocks in ‘manufacturers draw’ remain unchanged (by me).

Restores Servo block checking for valid integer constant at compile time. See issue #145 Revert to previous DigitalOutputBlock. See issue #149

Also… Add image for Ultrasonic distance sensor hardware. Multiple pop-up description improvements and name changes for consistency. NOTE: Loop block socket says “loop” not “do” – some may not like this? But it is consistent