0

Trying to follow along with a moog stem project to view PWM using arduino and the code they provided isn’t compiling. https://www.werkstattworkshop.com/education/lessons/vcosci2

When compiling the waveshape.pde file in the arduino IDE it throws an error on the code line “import cc.arduino.*;” that says:

exit status 1 ‘import’ does not name a type

As far as I can tell from the authors notes this line of code imports a library.

Thanks for taking a look.

2
  • Hello and welcome to StackOverflow. Please take some time to read the help page, especially the sections named How to Ask. It is not accepted to include a link or picture to your code. Please add your code as text so the next person can understand what your question+answer was even when the linked website is down. It is however useful to include a link to an external resource in addition to your example code. Commented Jun 25, 2019 at 8:59
  • Helpful information thanks Tarick Commented Jun 30, 2019 at 14:02

1 Answer 1

1

.pde files run in Processing on the PC/laptop.

It appears that this Processing sketch is written to run with a Arduino programmed with the Firmata software.

You need to

  1. Install processing
  2. Download Firmata and upload it to your Arduino
  3. Run the .pde file in Processing.
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.