Circuit Playground Express Error Compiling

Play with it! Please tell us which board you're using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
afox
 
Posts: 13
Joined: Sat Aug 30, 2014 5:31 am

Circuit Playground Express Error Compiling

Post by afox »

Hi!

I have problems compiling the "CircuitPlaygroundMakeBelieve" Arduino Sketch - See screenshot attached.
I am using Arduino 1.8.5 with installed Arduino SAMD Boards.
Anyone can help?

Thanks in advance!
Regards,
Alex
Attachments
Bildschirmfoto 2018-02-12 um 19.12.51.png
Bildschirmfoto 2018-02-12 um 19.12.51.png (177.82 KiB) Viewed 418 times

User avatar
Franklin97355
 
Posts: 23910
Joined: Mon Apr 21, 2008 2:33 pm

Re: Circuit Playground Express Error Compiling

Post by Franklin97355 »

This program is for the Circuit Playground, not the Express.

User avatar
adafruit_support_carter
 
Posts: 29155
Joined: Tue Nov 29, 2016 2:45 pm

Re: Circuit Playground Express Error Compiling

Post by adafruit_support_carter »

Unfortunately, that sketch will currently only work with the original Circuit Playground Classic. It has some low level code that is trying to access AVR (used on classic) registers directly. These don't exists for the M0 (used on express).

User avatar
Kuffcakes
 
Posts: 49
Joined: Sun Oct 08, 2017 12:23 am

Re: Circuit Playground Express Error Compiling

Post by Kuffcakes »

adafruit_support_carter wrote:Unfortunately, that sketch will currently only work with the original Circuit Playground Classic. It has some low level code that is trying to access AVR (used on classic) registers directly. These don't exists for the M0 (used on express).
I was working on https://learn.adafruit.com/unicorn-hat- ... -ears/code this project using a Circuit Python Express even though the project uses the Classic. I am having errors with TiCoServo when verifying the code. After removing some of the code, I received: Error compiling for board Adafruit Circuit Playground Express. Am I also out of luck on making this work on the Express?

User avatar
adafruit_support_carter
 
Posts: 29155
Joined: Tue Nov 29, 2016 2:45 pm

Re: Circuit Playground Express Error Compiling

Post by adafruit_support_carter »

It looks like the TiCoServo library is also AVR only and so won't work as is with the Circuit Playground Express.
https://learn.adafruit.com/neopixels-an ... vo-library
https://github.com/adafruit/Adafruit_Ti ... vo.cpp#L43

User avatar
afox
 
Posts: 13
Joined: Sat Aug 30, 2014 5:31 am

Re: Circuit Playground Express Error Compiling

Post by afox »

Ok thanks all for the reply.

Got today the Classic one and wanted to upload the sketch again, but said out of memory on classic.
So i downgraded the Circuit Playground Lib to 1.6.4 and then it let me upload the sketch!


Regards,
Alex

Locked
Please be positive and constructive with your questions and comments.

Return to “Circuit Playground Classic, Circuit Playground Express, Circuit Playground Bluefruit”