Arduino Forum

Products => Arduino Due => Topic started by: blueminerals on Sep 17, 2013, 06:52 pm

Title: due analogwrite was not declared in this scope
Post by: blueminerals on Sep 17, 2013, 06:52 pm
Trying to switch from avr to due and analogwrite isn't being recognized
analogwrite was not declared in this scope
Title: Re: due analogwrite was not declared in this scope
Post by: el_supremo on Sep 17, 2013, 07:26 pm
Try analogWrite

Pete
Title: Re: due analogwrite was not declared in this scope
Post by: blueminerals on Sep 17, 2013, 07:35 pm
using this
analog_Write(DAC1, int(dac_voltage));
Title: Re: due analogwrite was not declared in this scope
Post by: blueminerals on Sep 17, 2013, 08:42 pm
ok typo
should be analogWrite