User Tools

Site Tools


sid_library

This is an old revision of the document!


This library allows the operation of the SIDaster Shield (V2.3+) by specifying setup / communication functions. See the comments inside the library file files for in depth description.

Installation

  • Go to your Arduino\Library subfolder.
  • delete any previous installation of the SID library by removing the SID folder
  • Extract files from the library archive to your Arduino\Library subfolder.

One shall first include the library inside its design: #include « SID.h »

Then create a SID synth by declaring it : SID sid;

In the Arduino setup() function, one shall setup successively the clock and the SPI to operate the SID: sid.clk_setup(); sid.SPI_setup();

You eventually can send bytes to the SID by using sid.send(Address, Data); Address is the SID address ranging 0-24 as mentionned in the SID datasheet, and the Data is the byte you want to write.

sid_library.1317118003.txt.gz · Last modified: 2018/08/26 09:36 (external edit)