I love this audio out function available with the Beta and documented here (link removed)
The one thing that I can’t figure out is the pin assignment, this is what is in the source code;
static AnalogOut aout = new AnalogOut(AnalogOut.Pin.Aout0);
I couldn’t make it work as I had the pin attached to A0. After zooming in on the picture i see that it is connected to pin A3 which is marked analog in and analog out :-[
To clean up my code I tried to use this;
static AnalogOut aout = new AnalogOut((Cpu.Pin)FEZ_Pin.AnalogOut.An3);
But that gives me an error on invalid argument (the An3 is in the intellisense)
What am I doing wrong?