If you would like to write your own code for the Core1 using the Arduino programming environment (IDE), then you’re going to need to install some stuff.
This assumes that you’re using Arduino IDE version 1.6 or greater - if you’re not then none of this will make sense and you should stop here to preserve your sanity. We recommend using the latest version - our development has been done using version 1.8.13.
We have split this page into sections to make it a bit more digestible, feel free to skip the parts you already know!
delay()
and permanently disabled millis()
(11/10/2021)dr1a
code as another example as well as a simple sine-wavetable version
of the polyramp example. (10/10/2021)#include
of Arduino.h
;
API changed for wsInitAudio
; Tools menu changed to add Sample Rate selection.hex2wav
file so that when exporting a wav
file it’s not
played. Also appear to have re-introduced the bug when no programmer is selected.
Workaround is to set the programmer in the Tools menu.Export Compiled Binary
now generates a wav
file alongside the output hex.0.0.4 Added a couple of simple examples to check functionality.
hex2wav.jar
has been recompiled to target JRE8.hex2wav.jar
has been compiled with a
recent version of Java, so may not work on all platforms
(java.lang.UnsupportedClassVersionError
) - this will be addressed in the next version.Please raise any issues on the issue tracker!