Home
Prox / RFID
Verichips
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Photographs
Miscellany
Resume / Consulting
Contact Me

LDmicro Forum - problem on atmea 16 tx(USART)

(you are viewing a thread; or go back to list of threads)

problem on atmea 16 tx(USART) (by cux_)
dear jonathan
1. im have a comunication problem on atmega 16 with ld micro compiler. I can't transmit data from mikro to computer via USART, but I can receive data from computer.
2. Why in atmega 16 can't PWM output?although there are pins on atmea16 oc2(PD7) and oc0(PB3) for PWM output.
thanks jonathan.
Wed Dec 15 2010, 07:49:33, download attachment test tx usart.ld
(no subject) (by Jonathan Westhues)
(1) Your program looks okay. Perhaps you have something set wrong in your terminal program on the PC side (should be same baud rate, 8N1, no flow control), although I'm not sure why that would be wrong for transmit but not for receive. Or perhaps the TX pin just isn't connected? If you have an oscilloscope, then you can try to follow the data through.

(2) See http://cq.cx/ladder-forum.pl?action=viewthread&parent=532
Wed Dec 15 2010, 11:58:16
no subject (by simon)
hy Cux
i tested your program with atmega32 16mhz ,and is ok.
see attach
Sat Dec 18 2010, 04:00:32, download attachment zip.rar
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):