Of course, the Spider only takes a single voltage.
So, before I go looping through that, I’m pretty sure I’m going to run into a problem where the Spider can’t keep up with spitting out samples like that from managed code (my past experience has shown that NEMF isn’t generally fast enough for this type of work). Has anyone tried this on the Spider?
If I wanted to use the regular NETMF/FEZ AnalogOut (not sure if that is even possible), any idea what pin I say it is connected to? IOW, what logical pin does the aout on socket 9 correspond to?
But if I need to use the old NETMF AnalogOut instead of the Gadgeteer AnalogOut, I need to know the old-style (pre-socket) pin number to provide it. That’s what I need to ID here, as it doesn’t look like I can do wave playback natively from Gadgeteer code.
I’m actually porting an old Panda II project to the Cerberus-Mainboard.
I’m mostly done, but got one Problem:
The Panda offered the possibility of a wave-playback through the analog-out pin. So the e-block piezo could be used to play a wave-file.
Is there a possibility to do the same thing with the cerberus analog-out from the dac at sockets 4,3?
Additionally i’ve tested the music-module, but if added to the project, i get an out-of-memory exception. So ist would be nice to have the output without the module.
That sounds nice. So i could take the old e-block piezo, connect the signal (s-pin) to pin 5 of socket 3, add power supply to it an run?
Is there an example on how to control a single pin on the socket?
That sounds easy, but how can I find out, which one of the output channels is the one I’m searching for?
VS offers a list from Cpu.AnalogOutputChannel.ANALOG_OUTPUT_0 to Cpu.AnalogOutputChannel.ANALOG_OUTPUT_7. Is there a list to derive the right output channel on the cerberus sockets?
I searched the web for a ducumentation of the GHI.OSHW.Hardware.Util.PlayPCMAudio(channel, data, offset, count, dataRate)-method, but without any result. Can anyone tell me, what the parameter “offset” is supposed to do? Is it a dc-offset?