• Home
  • About Me
  • Weekly Assignments
  • Final Project
  • Week 07

    Embedded programming

    - For that week I did Button + LED as shown at this tutorial.

    - I read the datasheet of the attiny to understand what I'm doing,
    and then rebuild the circuit from the begining using   "EAGLE".

    - To program the board I used The "FabISP" that was done using those tutorials 1 2.

    - For programing the board I used the example at the arduino program,
    and change the led and button number to what I have in the circuit.
    (file > Examples > Digital > button ).

    const int buttonPin = 3;    - insteed of 3
    const int ledPin = 7;    - insteed of 7





    Another change that I did at the code was:
    --  if (buttonState == LOW) // changed from HIGH to LOW  --
    this change cause the led lit only when button are pressed.

    Problems

    For Windows users (I use WIN7 X64 bit) it isn't easy to find a driver for FabISP.
    After searching the NET and tring some drivers I found that:
    Driver for WIN7 X64 bit.
    If you want to read more you can find this link usefull.

  • Useful Links
  • Tutorials

© 2013 BrandName.com - All Rights Reserved - Find More Free Template at Pixelhint.com.