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

Why some block cant inject others? #25

Open
wjhtinger opened this issue Jan 2, 2023 · 11 comments
Open

Why some block cant inject others? #25

wjhtinger opened this issue Jan 2, 2023 · 11 comments

Comments

@wjhtinger
Copy link

There is no reason, why?

@SebCanet
Copy link
Contributor

SebCanet commented Jan 2, 2023

Hi,
could you be more explicit? Join screen capture or even video to explain what is not working properly?

@wjhtinger
Copy link
Author

I capture a video to explain. In video, fff is float number, iii is int number.

20230103-102925.mp4

@SebCanet
Copy link
Contributor

SebCanet commented Jan 3, 2023

Ok, thanks, I see what you mean. The variable typing detect is not finished in this version. I'll try to implement an auto detect system ASAP.

@wjhtinger
Copy link
Author

Ok, thanks, I see what you mean. The variable typing detect is not finished in this version. I'll try to implement an auto detect system ASAP.

Thank you very much! When will you finish it? Then you can let me to do the testing

@wjhtinger
Copy link
Author

How about this issue?

@wjhtinger
Copy link
Author

Hi,anyone can help me on this issue? It OK too that who can give some ideals, then I could try to debug it by myeself.

@RobertPHeller
Copy link
Contributor

Ok, thanks, I see what you mean. The variable typing detect is not finished in this version. I'll try to implement an auto detect system ASAP.

What is involved with fnishing "variable typing detect". It seems that this has not been done and it is more than a year later...

@RobertPHeller
Copy link
Contributor

Related to this is that one can't use variables as arguments to digitalWrite(), etc. That is you can't create blocks for code like this:

`int state;

void setup() {
pinMode(LED_BUILTIN, OUTPUT);
state = HIGH;
}
void loop() {
delay(1000);
digitalWrite(LED_BUILTIN, state);
if (state == HIGH) state=LOW;
else state=HIGH;
}`

@SebCanet
Copy link
Contributor

SebCanet commented Mar 24, 2024

Really sorry but I had a lot of work, and no time for this project. I'm working on a new core, updated to Blockly v11 but still in alpha (arduino generator not finished, and I want to use same automatic typing mechanism for variable.
Help welcome!

@RobertPHeller
Copy link
Contributor

RobertPHeller commented Mar 25, 2024 via email

@SebCanet
Copy link
Contributor

Well I tested a lot of things in another project, Studio4Education: https://github.com/A-S-T-U-C-E/STudio4Education, with demos here: https://tube-sciences-technologies.apps.education.fr/c/studio4education/videos
I made it quickly and it's dirty, so I would like to create a core (actually WIP https://github.com/A-S-T-U-C-E/ucBlockly), something with everything you need to create a micrcontroller VPI, and then each project, like BlocklyDuino, shoud be just a layer over µcBlockly.
Roadmpa: https://github.com/orgs/A-S-T-U-C-E/projects/16

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

No branches or pull requests

3 participants