help me!

hi everybody! i come to asean. so my english not well, if i have error in my grammar, hope you ignore!

i have a project in my forum here:

formatting link

and have a problem that i and my forum can't slove, visit this link and help us, please!

hope everybody lucky!

Reply to
Viet Tran
Loading thread data ...

you ignore!

This is an international group - we'll ignore spelling and grammar errors as long as your post is understandable, and as long as you don't write in "SMS language". But please find the "shift" key on your keyboard and use capitals when appropriate.

No one will follow a link like this. If you want to ask a question here, ask it here. Put a sensible subject in the post, and give the details here, not via some link to an unknown website.

Reply to
David Brown

V=C3=A0o 10:42:48 UTC+8 Th=E1=BB=A9 n=C4=83m, ng=C3=A0y 26 th=C3=A1ng b=E1= =BA=A3y n=C4=83m 2012, Viet Tran =C4=91=C3=A3 vi=E1=BA=BFt:

ope you ignore!

Reply to
Viet Tran

ar, hope you ignore!

;t=20

key on your=20

Thank David! i will care more. Thank for your advice! Hope you sucess in your life!

Reply to
Viet Tran

you ignore!

I despise web forums (fora?). But actually I found the link interesting for a snapshot of "how the kids do it these days".

There is a nice embedded video, of some kind of graphical emulator where you draw the circuit and have a simulated scope shot of the pin voltage when the program is running. Is that what AVR studio looks like now? Ditched it 10 years ago. All looks very impressive, but useless here it would seem.

--

John Devereux
Reply to
John Devereux

No, it's a Proteus EDA/CAD tool.

StoneThrower

formatting link

Reply to
Stonethrower

This is Protes tool, not AVR Can you introduce to me a morden simulation program?

Reply to
Viet Tran

V=C3=A0o 04:01:37 UTC+8 Th=E1=BB=A9 s=C3=A1u, ng=C3=A0y 27 th=C3=A1ng b=E1= =BA=A3y n=C4=83m 2012, Stonethrower =C4=91=C3=A3 vi=E1=BA=BFt:

Let see the subroutine:=20

void set_led ( void )=20 {=20 port_direct->port.pin2=3D1;=20 port_sel->port.pin2=3D1;=20 }=20

Clearly, i chose p2.2 to get PWM. but when see the video emulated=20 we can see that: both p2.2 and p2.6 can get pulse=20 so, can you explain to me why?=20

Thank you!

Reply to
Viet Tran

No, sorry, I was admiring the one you already have!

I have not been following the thread in detail but I think others have likely given good advice (re optimisation and volatile).

I would have used a real physical AVR and a real physical scope, but I am just old fashioned...

John

--

John Devereux
Reply to
John Devereux

OK, cool, thank you.

--

John Devereux
Reply to
John Devereux

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.