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

A Blockly created Sketch produces not working Arduiono Code #198

Open
yxcv1 opened this issue Mar 15, 2022 · 0 comments
Open

A Blockly created Sketch produces not working Arduiono Code #198

yxcv1 opened this issue Mar 15, 2022 · 0 comments

Comments

@yxcv1
Copy link

yxcv1 commented Mar 15, 2022

Reporting a Bug

I used the Display Print example. Then i downloaded the Arduiono code produced by the website. The code didnt work on my maschine.

Expected Behavior

It should work.

Current Behavior

It didnt work.

Possible Solution

I solved it by changing the constructor from "Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, OLED_RESET);" to "Adafruit_SSD1306 display(OLED_RESET);". (OLED_RESET is just a int)

Steps to Reproduce (for bugs)

  1. go to the website and use the "Display print" example
  2. download Arduiono code
  3. try to compile it local
    -> it says couldnt match the constructor

Context

I think you just use an other Version of the Arduino SAMD Boards or the senseBox MCU in your Blockly. In that case it would by helpful to write your Version in the Documentation. Thanks!

Your Environment

Arduino SAMD Boards 1.6.10
senseBox MCU 1.5.0

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

1 participant