Hi I'm Noob here, also noob about Arduino board, help needed.
now I have a project about sending and receiving message on Arduino mkr 1010 board at a certain speed, sampling rate I mean. and I get trouble about analogWrite() and analogRead() like below:
I would like to use function analogWrite() to change the voltage at the analog output port, say 100 or 200 times per second. How can I do that?
Also use function analogRead() to get the voltage at the analog input port, say 100 or 200 times per second. Is it the same as analogWrite()?
could anybody help me about this, Thanks a lot.