-
Notifications
You must be signed in to change notification settings - Fork 122
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
Edison - using repeat x times loop #1632
Comments
Please be more precise and send a screenshot of the generated source code (Source Code View) of line 12 |
I tried the following code in the EdPy-IDE and it works:
Using this code in our source code editor, generates an error of the Edison compiler we are using:
A possible reason: our Edison compiler is outdated. |
The "old" (and origin) Edison Python compiler works, but unfortunately only with Python 2. That's why we changed it here to a python 3 compatible version. Seem like the issue with "too complex" comes from this compiler: https://github.com/thonny/thonny-edison |
The implemented solution is to use edison's compiler directly. In conversation with the people at edison, it turned out that we are allowed to use their API for this purpose. |
Tested and works fine on Windows also! Thanx ;) |
Describe the bug
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Screenshots
![image](https://private-user-images.githubusercontent.com/19221359/307354813-460116db-4d77-4ecb-bdb3-8c2b6909f9b2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2NjgyMzUsIm5iZiI6MTczOTY2NzkzNSwicGF0aCI6Ii8xOTIyMTM1OS8zMDczNTQ4MTMtNDYwMTE2ZGItNGQ3Ny00ZWNiLWJkYjMtOGMyYjY5MDlmOWIyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE2VDAxMDUzNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI2MzRhY2E1ZDhjMjAyNmJkZGQ2MmI2ZjFjOGZmOGZhNTUwMzMxNDAyNGQ5MjYwOGYwMDY0ZDg5MTM1ZDYzNDEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.odcClOXAbs1FgoqQRFQ8szAxn0-G8Mw50H0GgokuHi4)
Device information
The text was updated successfully, but these errors were encountered: