Habe leider kein Oszi da, aber nach dem Code müsste es ja die Baud seinCode:'----------------------------------------------------------------------------------------- 'name : bluetooth.bas 'purpose : Bluetootmodul 'micro : Atmega162 '----------------------------------------------------------------------------------------- '.. Baud rate: 19200 bps '.. Data bit: 8 '.. Parity: none '.. Stop bit: 1 '.. Flow control: H/W or none ' Others: Please refer to AT Command Sets. $regfile = "m162def.dat" 'Atmega162 $crystal = 1000000 'laeuft mit 1Mhz $baud = 19200 Config Com1 = Dummy , Synchrone = 0 , Parity = None , Stopbits = 1 , Databits = 8 , Clockpol = 0 Config Porta.6 = Output 'LED2 Print "ATD0" Wait 2 Print "ATN=Quadro" Porta.6 = 1 Wait 1 Porta.6 = 0 Wait 1 Do Porta.6 = 1 Wait 1 Print "test1" Porta.6 = 0 Wait 1 Loop
Lesezeichen