Sorry for the late reply but I just learned about the list yesterday :)<br>Not sure how to reply to a message in the archive.<br><br>[Q1] The "5V" pin is the "VCC" pin. It is connected to the VCC of the uC.<br>
For some boards this is 5V (or a little less). For a lot of boards (like my<br>wiblocks boards) this is 3.3V. The voltage will be constant during programming.<br><br>[Q2] I program all my parts using the ICSP. An oscillator is not required. <br>
<br>[Q3] You can run the ATmega168/328 at frequencies up to 20MHz. However,<br>the maximum frequency is dependent on the VCC you use for the microcontroller.<br>There is a frequency derating curve in the datasheet. <br>I believe the reason that the Arduino is run at 16MHz is to give some margin with<br>
the VUSB + LDO dropout. I run my boards at 3.3V and 12MHz. <br><br>The CPU frequency is set in the Makefile using the F_CPU variable. You will not<br>have problems with most of the code. However, there could me some libraries,<br>
like NewSoftSerial, that could have nested if/then/else clauses that do not<br>examine the F_CPU for the frequency you choose. I had a customer who<br>wanted to use NewSoftSerial with his wiblocks board. After calculating the <br>
new timing constants I was able to modify NewSoftSerial to work at 12MHz.<br>See <a href="http://wiblocks.luciani.org/docs/app-notes/software-serial.html">http://wiblocks.luciani.org/docs/app-notes/software-serial.html</a><br>
<br>(* jcl *)<br><br clear="all"><br>-- <br><a href="http://www.wiblocks.com" target="_blank">http://www.wiblocks.com</a>  <br>