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

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

Merged
merged 28 commits into from
Apr 14, 2017

Conversation

TonyCallear
Copy link
Collaborator

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

@TonyCallear TonyCallear reopened this Mar 28, 2016
Move Delay blocks back to Control draw - My fault! When that happened!

remove df_servo and df_360_degree_rotation_motor from core "Pins" draw
Comment warning "Invalid Drawer: trying to add a drawer that already
exists: DFRobot"
Move dht11 blocks into "Generic Hardware"
Remove Ultra sonic from Draw "Pins". Already in "Generic Hardware"
Moved blocks DDRA PORTA PORT_FIX PINA to DuinoEDU as you need that
hardware to use them.
Give correct pinList to Toggle Pin block.
See issue taweili#149

??Comment?? asking about attempt to treat constants differently from
variables
Colours, typo corrections
Prevent typing into pinList blocks
Toggle that works when given variables and maths
Stop treating numberblocks as a special case. See issue taweili#153
InputPullup. Correct socket type so it can be used.
Toggle that works with variables and maths denoting pin number.
Because I really don't like the default layout / Look and feel.
My prefered look will generally be in Skin/slim.

Copy the files out of Skin/xxx up to the 'block' folder and clean/
re-compile.
@TonyCallear TonyCallear merged commit b43d3be into taweili:master Apr 14, 2017
@TonyCallear TonyCallear deleted the master-2016-03 branch October 28, 2017 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant