Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] reading list of books

2004-01-19 by Wagner Lipnharski

Simple and easy?
Start in assembly.
Want a taste of it?
6 lines of code and you have 8 leds blinking as a binary counter.
Just connect the 8 leds to all port B pins via 330-500 ohms resistors.
out ddrb,255 ; set portb output
a1:
out portb,r16 ; move R16 to PortB
inc r16 ; increment R16
a2:
adiw r30,1 ; add 1 to 16 bits counter
brne a2 ; keep couting until 65536
rjmp a1 ; go back, increment leds
Here you see the machine working, you understand what is happening.
Try to taste the same peach taste in C+.
Plenty of assembly information around.
Download the FREE AVRStudio4 from Atmel.
Invest less than $70 in a STK500 Atmel development platform.
You will thank me in the future.
Wagner.
----- Original Message -----
From: "jim_rinaudo" <jravionics@webworkz.com>
Sent: Sunday, January 18, 2004 7:47 PM
Subject: [AVR-Chat] reading list of books

> Greeting to all,
>
> I am just starting out and need to get a book or two to start off. I
> took a class in C++ and used basic and fortran a long time ago but
> need to get a book that starts off simple. Hardware is not much of a
> problem but the software is.
>
> Any recommendations. I tried a search here on recommended books and
> got nothing so any pointers would be appreciated.
>
> thanks
>
> Jim
>
>

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.