ROBOTC.net forums
http://robotc.net/forums/

Programming Sound Port DAC Directly
http://robotc.net/forums/viewtopic.php?f=11&t=7820
Page 1 of 1

Author:  bear [ Thu Jan 30, 2014 12:45 am ]
Post subject:  Programming Sound Port DAC Directly

I want to do some debugging where it would be useful to have a programmable analog output (DAC) – the output of the DAC would be displayed on an oscilloscope. I don’t think the motor outputs are suitable for my purpose. The Cortex has a “speaker port” which probably has the hardware capability that I need, but there does not seem to be a way to program the DAC output of the speaker port directly. Does anyone know how to do this?

I do not want to play music or sound files.

Author:  CARBOT [ Fri Jan 31, 2014 1:11 pm ]
Post subject:  Re: Programming Sound Port DAC Directly

Motor ports 1 and 10 on the cortex are for connection of DC motors directly and would work will for connection of your scope. Motor ports 2 through 9 are PWM outputs which a motor controller would give you an analog output.

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/