neochrome32
Joined: 09 Jun 2013 Posts: 153
|
dsPIC33FJ128GP802 write_dac |
Posted: Mon Mar 17, 2014 8:50 am |
|
|
got a new chip
dsPIC33FJ128GP802
seems to have audio so the hardwork is done there.
im completely new to this...
the mid point,
Code: |
setup_dac(DAC_RIGHT_ON,4);
di = 40;
dac_write(DAC_RIGHT, di);
|
how would use the midpoint?
Code: |
setup_dac(DAC_RIGHT_ON | DAC_RIGHT_MIDPOINT,4);
di = 40;
dac_write(DAC_RIGHT, di); // maybe like this?
|
|
|