An Arduino sine wave generator using interpolated lookup table as the direct digital synthesis (DDS) method. DDS waveform generators can easily output waveforms with mHz or better relative frequency ...
//light values lookup table, built on an S curve, to make LED dimming feel linear. 1024 stages. //Storing in PROGMEM allows for such a large array (1023 values). Without PROGMEM, an array of 512 ...