abstract.txt

来自「LPC2368 CAN总线例子程序」· 文本 代码 · 共 28 行

TXT
28
字号
This example program shows how to use the RTX CAN Driver 
on 'Keil MCB2300 Evaluation Board' with Philips LPC2378  
microcontroller.

Example functionality:
 - send converted analog value in first byte in CAN message 
   on CAN 2 controller every 1 second
   CAN 2 controller speed: 500 kbits
 - display received byte on CAN 1 controller in hexadecimal 
   representation on 8 LEDs
   CAN 1 controller speed: 500 kbits

This example shows how to use RTX CAN Driver and how 
to simulate analog input in uVision.

You may change the value of analog input with potentiometer 
and watch the value on 8 LEDs change accordingly. 

The CAN_Ex1 example program is available for several targets:

Simulator:     uVision Simulator for evaluation

LPC2300 Flash: Philips LPC23x8 internal Flash

Notes:      
  - To see the example functionality on hardware, loopback has 
    to be connected between CAN1 and CAN2 (pins 7 on both DB-9 
    headers shorted, and pins 2 on both DB-9 headers shorted)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?