Compile error while using Chatter

I assembled my Chatter a few days ago, and it works fine. However when I try to upload code to it using CircuitBlocks, I get the same error.

Compile error. Check your code then try again.

No matter how I change the code, it doesn’t work. Here is my code:

#include <Arduino.h>
#include <CircuitOS.h>
#include <Chatter.h>
#include <Loop/LoopManager.h>

Display* display;
Sprite* sprite;

void setup() {
  Serial.begin(115200);
  Serial.println();
  Chatter.begin();
  display = Chatter.getDisplay();
  sprite = display->getBaseSprite();

  sprite->setTextSize(6);
  sprite->setTextFont(1);
  sprite->setTextColor(TFT_GREEN);
  sprite->println("test");
  display->commit();


}

void loop() {
  LoopManager::loop();

  sprite->setTextSize(6);

}

I’ve tried reinstalling Arduino and CircuitBlocks and it still didn’t work.

1 Like

Hi @3njooo,

thank you for reaching out.

Please try (running the sketch) again so the error occurs again, then go back to the home page in CircuitBlocks, scroll to the bottom, and in the footer, you will find a “Send error report” button.

Clicking it will open a window showing all the information which will be sent, which includes the error that happened as well as some other info about your system that might help us resolve your problem.

When you click “Send report”, the report will be sent to tour servers, and you will get a report ID. Please get back to us with that ID, and we’ll be able to assist further.

Best regards,
Monika

HI there,

I also just recently assembled Chatter, and when I try to run just basic code I get the same error. Here is my report 1572.

Thanks,

Chris

1 Like

Hey Chris,

Thank you for reaching out.

Could you please tell us if Chatters were working properly prior to the coding attempt?

We will look into the report ID and get back to you with a solution.

Best,
Monika