Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20555

BASCOM-AVR : Atmega128A - Uart0 & Uart1 not work : NEWTOPIC

$
0
0
Hello I have problem with Atmega128A and UART0 (PE0,PE1) and UART1(PD2,PD3). Program: [code:1:d550960989] $regfile = "m128def.dat" ' specify the used micro $crystal = 16000000 ' used crystal frequency $baud = 19200 ' use baud rate $hwstack = 32 ' default use 32 for the hardware stack $swstack = 10 ' default use 10 for the SW stack $framesize = 40 ' default use 40 for the frame space Do Print "Hello atmega" Loop [/code:1:d550960989] and [code:1:d550960989] $regfile = "m128def.dat" $crystal = 16000000 $baud = 19200 $baud1 = 19200 Config Com1 = Dummy , Synchrone = 0 , Parity = None , Stopbits = 1 , Databits = 8 , Clockpol = 0 Config Com2 = Dummy , Synchrone = 0 , Parity = None , Stopbits = 1 , Databits = 8 , Clockpol = 0 Open "Com2:" For Binary As #1 Do Print "Hello atmega" Print #1 , "Hello atmega" Loop [/code:1:d550960989] Not work and i don't know why. Bascom version 1.11.9 programmer USBasp Thanks for your help. [b:d550960989][color=red:d550960989](BASCOM-AVR version : 1.11.9 , Latest : 2.0.7.7 )[/b:d550960989][/color:d550960989]

Viewing all articles
Browse latest Browse all 20555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>