Look at the following diagram (Fig-1) and observe that the anaologWrite() function works on the described DPins execpt Dpin-8.

Figure-1:
Look at the following diagram (Fig-1) and observe that the anaologWrite() function works on the described DPins execpt Dpin-8.

Figure-1: