acus
Junior Member level 1
attiny2313 set baudrate
pleasee anyone help me.. i want to build project wih attiny2313 serial comunication with baudrate 115200 heres some example:
$regfile = "attiny2313.dat"
$crystal = 20000000
$baud = 115200
Dim Cr As Byte
Cr = &H0D
Config Com1 = 115200 , Synchrone = 0 , Parity = None , Stopbits = 1 , Databits = 8 , Clockpol = 0
Waitms 5
Print "acus kasep pisan" ; Chr(cr);
End
i have test with avr simulator and works fine but if i conect with pc (hyperterminal) it's not working. the result is not "acus kasep pisan"
any solution...? i try with crystal external 4mhz,20mhz still not working...
pleasee anyone help me.. i want to build project wih attiny2313 serial comunication with baudrate 115200 heres some example:
$regfile = "attiny2313.dat"
$crystal = 20000000
$baud = 115200
Dim Cr As Byte
Cr = &H0D
Config Com1 = 115200 , Synchrone = 0 , Parity = None , Stopbits = 1 , Databits = 8 , Clockpol = 0
Waitms 5
Print "acus kasep pisan" ; Chr(cr);
End
i have test with avr simulator and works fine but if i conect with pc (hyperterminal) it's not working. the result is not "acus kasep pisan"
any solution...? i try with crystal external 4mhz,20mhz still not working...