[Help]3 sensors line follower with CvAVR

Thread Starter

Silentech

Joined Sep 14, 2009
8
Hello guys...
i need ur help again..:)
i am confused when i got a homework to make a program with cvavr..:(
can anybody here help me to make this program..:confused:
i want to learn how to program micro with cvavr...

This is all i wanna know..
i want to use atmega 8535..
how to make program using 3 sensor just with 3 pins from 8 pins in portA..
i want to categories that pin with x,y,z
this is output high, when x is 1, n then y and z is 0, so it will move right..
that is bineri,
but i`m not use x,y,z=(1,1,0) and x,y,z=(1,1,1)..

help me pls..
Thx very much for help me..
so i can get learn more..
:D i love this forum..
 

Nanophotonics

Joined Apr 2, 2009
383
I'm not familiar with cvavr, but I would suggest you to find some online C tutorials (if you are using C) to program the micro. What you are asking seems quite straight forward once you know the language's basics.
 

Thread Starter

Silentech

Joined Sep 14, 2009
8
can u link me to the tutorial about line follower program or avoider robot??
:( i don`t know language`s basic C well..
 

hgmjr

Joined Jan 28, 2005
9,027
Have you drawn up a schematic of your circuit? If so, go ahead a post it so that we can see what hardware you are using.

hgmjr
 
Top