I am having issues figuring out what the outputs are from our austria microsystems magnetic rotary sensor (AS5030). I have declared them as DigitalInputs but cannot figure out how to use them in the code. I tried debugging it by setting up printf statements and cout statements, but I could not get the console to come up properly, even after following many guides about it (has issues getting information about the target).
You can configure them to be analog (“filtered PWM”), straight PWM, Analog Sine-Cosine, and 4-wire SPI.
One thing they are not is a boolean digital input.
See the 2011 Sensor Manual, available from the Kit of Parts web page.