I am a newb and just started to learn programming with Microcontrollers. I don't know whether I should use BINARY or C Programming on MPLAB. I want to generate frequencies between 1Hz to 1Mhz on the pin outputs of a Microcontroller. The frequency has to be very accurate and I want to use a quartz crystal along with the frequencies so they may be highly accurate.
An example I would like to accomplish.
- A microcontroller having 1 output pin as 10Hz
- A microcontroller having 3 output pins as 10Hz, 30,000Hz(30khz) and 2000Hz(2khz)
Also, may someone recommend me a Microchip Microcontroller that is not too expensive but cheap and can do the job for generating frequencies?
Thank you.
An example I would like to accomplish.
- A microcontroller having 1 output pin as 10Hz
- A microcontroller having 3 output pins as 10Hz, 30,000Hz(30khz) and 2000Hz(2khz)
Also, may someone recommend me a Microchip Microcontroller that is not too expensive but cheap and can do the job for generating frequencies?
Thank you.