Can NanoCore12 generate analog voltages?
Generating an analog output is very simple, using a PWM waveform in conjunction with a resistor and capacitor. The result will be the a voltage between logic low and logic high, proportional to the duty cycle. Alternatively, a DAC chip can be used, via the SPI port (see below), or by implementing the popular IIC interface in software.