Download MCS Electronics , 1995-2008 - Departamento de Automatización y
Transcript
BASCOM IDE 89 3.42.3 Options Compiler Communication Options Compiler Communication Item Baud rate Frequency Description Selects the baud rate for the serial communication statements. You can also type in a new baud rate. It is advised to use $BAUD 256 in the source code which overrides this setting. Select the frequency of the used crystal. You can also type in a new frequency. It is advised to use $CRYSTAL 261 in the source code which overrides this setting. Settings in source code are preferred since it is more clear. The settings for the internal hardware UART are: No parity , 8 data bits , 1 stop bit Some AVR chips have the option to specify different data bits and different stop bits and parity. Note that these settings must match the settings of the terminal emulator. In the simulator the output is always shown correct since the baud rate is not taken in consideration during simulation. With real hardware when you print data at 9600 baud, the terminal emulator will show weird characters when not set to the same baud rate, in this example, to 9600 baud. © 2008 MCS Electronics
Related documents
bascom-8051
fulltext - DiVA Portal
projects microcontrollers
Xvhu#Pdqxdo# - book.isito.kg(0)
Post Developmental Applications of Analog-to
Senior Assembler & Simulator user manual
Citizen C650 Instruction manual
Basic Bascom mode d`emploi
USB Flash Atmel
BASCOM-8051 user guide
O'Reilly Windows 7 Annoyances
Arduino A000053 peripheral controller