View Arduino Nano Pin Numbers In Code Photos. Some product pages only count the number of pins which do not also have adc functionality, others add the adc pins that can also be used for digital. They use the same processor understanding arduino nano.

4 Arduino Technical Details Arduino A Technical Reference Book
4 Arduino Technical Details Arduino A Technical Reference Book from www.oreilly.com
You would find built in library to avoid such calculation and reseting the pin configuration, you just put the duty cycle and pin number with the intended frequency. It's operating voltage varies it also has a mini usb pin which is used to upload code. From that 14 digital pins, 6 pins can be used as pwm outputs.

First the header file for the lcd.

Here there's a detailed image of one arduino nano. I started coding in hex because i couldn't afford an assembler. Some product pages only count the number of pins which do not also have adc functionality, others add the adc pins that can also be used for digital. Complete code with a working video is given at the end of this tutorial.