Kód: Egész kijelölése
' Hardware Definitions: Port und Pin for CF-Card/HardDisk
' This hard ware setting is for a hard disk (See HARDDISK_M128.GIF)
$regfile = "m128def.dat"
$crystal = 14746000
'AVR-Stamp M128 F MMC
' Use Serial 0 for communication with PC-Terminal
$baud = 19200 ' USB use baud rate
$baud1 = 19200 ' RS485 use baud rate
$hwstack = 128 ' default use 32 for the hardware stack
$swstack = 128 ' default use 10 for the SW stack
$framesize = 128 ' default use 40 for the frame space
'AT45DB041 DATAFLASH láb bekötése
'PORTB.0 - CS-
'PORTB.1 - SCK
'PORTB.2 - MOSI
'PORTB.3 - MISO
'RESET - RESET-
'VCC - WP-
$lib "CF_HD.lbx"