analogRead and analogWrite

#1

Hi, I am new here with mongoose os, I was looking at the API documentation to read and write analog voltage for a pin. I was using Arduino IDE, it has analogRead and analogWrite, where I am missing analogWrite herein mongoose. Please assist me with that and please let me know if I am wrong.

#2

analogRead - Use the adc library
analogWrite - Use the pwm library