'**************************************************************** '* Name : CanTxDeclare.BAS * '* Author : James S. McLaughlin * '* Notice : Copyright (c) 2002 * '* : All Rights Reserved * '* Date : 1/17/2002 * '* Version : 1.0 * '* Notes : Declarations for can transmission * '* : * '**************************************************************** 'can transmission declarations: TxBuffer var byte 'transmission buffer number (there are three available) TxBuffer = 0 TXPriority var byte[2] 'priority is 0 to 3 (typo in manual page 17) bits 0 and 1 TxIDHigh var byte[2] 'transmission buffer identifier high TxIDLow var byte[2] 'transmission buffer identifier low (bits 7-5) for k = 0 to 2 TXPriority[k] = 0 'lowest priority TxIDHigh[k] = 0 TxIDLow[k] = 0 next