I have to be able to clock 16-bit words into a SOMO sound module using the bit-banging approach. I know what the words are going to be.
Is there a more simple method then just:
This is long and memory intensive(although it does work), especially if you need to store several different commands - 34 lines per command(16x 2 lines for every bit + 1x start bit and 1x stop bit) - there must be a more efficent method. Can anyone offer me any alternatives?
Is there a more simple method then just:
Code:
start:
pulsout 1,200 'Start bit
high 2 'Put data on data line
pulsout 1,50 'Clock the module
high 2 'Put data on data line
pulsout 1,50 'Clock the module
low 2 'Put data on data line
pulsout 1,50 'Clock the module
.
.
.
Last edited: