11. Input Devices

Making sample board

First, I made a sample board that function was to get temperature.

I used Table 17-4 inATtiny45 datasheetas a reference

Editing the board

I did't want to make same sample board. I decied to make the board original design such a castle of the game because I maede a original board used the town of old game window like a Dragon Quest as a reference. I used Adobe Illustlator to edit sample board.

Writing

I used FabISP to write program.
  1. open "iTerm" that is like a terminal.
  2. cd ~/Desktop/temp/(I saved .c file and .make file in this folder)
  3. command "make -f hello.temp.45.make"
  4. command "sudo make -f hello.servo.44.make program-usbtiny"
  5. command "python hello.temp.45.py /dev/tty.usbserial-FTHBRH4J"

* not use fuse in this board because use the internal clock.

Result