[How To] Read and Write fuse in ATMEGA328P

Calculate fuse value: http://eleccelerator.com/fusecalc/fusecalc.php?chip=atmega328p Read fuse: avrdude -P /dev/tty.usbmodem1411 -b 19200 -c avrisp -p m328p -v Write fuse using avrdude command avrdude -P /dev/tty.usbmodem1411 -b 19200 -c avrisp -p m328p -U efuse:w:0x06:m Here, setting efuse to 0x06 will disable BrownOut mode in ATMEGA328P thus allow it to run at 3.3V (F_CPU should be set to […]

Read More

[How To] Tips for Git

This is a summary of tips that might be helpful in using Git. 1. Check detail of remote “origin” master git remote -v 2. Set new remote origin git remote set-url –add gituser@githost:user/project.git For example: git remote set-url –add git@git.tech-codes.com:tatung/m2-midterm-draft.git 3. Remove a remote, origin for example: git remote rm origin 4. Add new remote, […]

Read More