PWM.C —Demonstrates the use of Timer B to generate a PWM signal on digital output OUT" />
參數(shù)資料
型號: 20-101-0556
廠商: Rabbit Semiconductor
文件頁數(shù): 38/94頁
文件大?。?/td> 0K
描述: COMPUTER SNGL BD BL2000 IDC HDR
標(biāo)準(zhǔn)包裝: 1
系列: SBC
模塊/板類型: 單板計算機模塊
適用于相關(guān)產(chǎn)品: BL2000
User’s Manual
39
PWM.C
—Demonstrates the use of Timer B to generate a PWM signal on digital output
OUT8. The program generates a 42 Hz PWM signal with the duty cycle adjustable
from 1 to 99%.
RELAY.C
—Demonstrates how to control the relay on the BL2000.
4.2.3 Serial Communication
The following sample programs are found in the RS232 subdirectory in SAMPLES/BL2000.
PUTS.C
—Transmits and then receives an ASCII string on Serial Ports B and C. It also
displays the serial data received from both ports in the STDIO window.
RELAYCHR.C
—This program echoes characters over Serial Port B to Serial Port C. It
must be run with a serial utility such as Hyperterminal.
The following sample programs are found in the RS485 subdirectory in SAMPLES/BL2000.
MASTER.C
—This program demonstrates a simple RS-485 transmission of lower case
letters to a slave BL2000. The slave will send back converted upper case letters back to
the master BL2000 and display them in the STDIO window. Use SLAVE.C to program
the slave BL2000.
SLAVE.C
—This program demonstrates a simple RS-485 transmission of lower case
letters to a slave BL2000. The slave will send back converted upper case letters back to
the master BL2000 and display them in the STDIO window. Use MASTER.C to program
the master BL2000.
4.2.4 A/D Converter Inputs
The following sample programs are found in the ADC subdirectory in SAMPLES/BL2000.
AD_CALIB.C
—Demonstrates how to recalibrate an A/D converter channel using two
known voltages to generate two coefficients, gain and offset, which are rewritten into
the user block data area. The voltage that is being monitored is displayed continuously.
Note that this sample program will overwrite the calibration constants set at the factory.
AD1.C
—Demonstrates how to access the A/D internal test voltages in both the
TLC2543 and TLC1543 A/D converter chips. The program reads the A/D internal volt-
ages and then uses the STDIO window to display the RAW data.
AD2.C
—Demonstrates how to access the A/D channels using the anaInVolt function.
The program uses the STDIO window to display the voltage that is being monitored.
AD3.C
—Demonstrates how to access the A/D converter channels with the low-level
A/D driver. The program uses the STDIO window to display the voltage that is being
monitored on all the A/D channels using the low-level A/D driver.
AD4.C
—Demonstrates how to use the A/D converter channels with the low-level A/D
driver. The program uses the STDIO window to display the voltage (average of 10 sam-
ples) that is being monitored on all the A/D converter channels using the low-level A/D
driver.
相關(guān)PDF資料
PDF描述
20-101-0654 INTERFACE OP6800 512K FLASH&SRAM
20-101-0788 COMPUTER SGL-BOARD OP6600 W/SRAM
20-101-1068 MODULE RABBITCORE RCM3315
20-101-1131 MODULE RCM4200 RABBITCORE
20-101-1139 RCM4310 RABBITCORE
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
20-101-0561 功能描述:模塊化系統(tǒng) - SOM RCM3400 Rabbit Core RoHS:否 制造商:Digi International 外觀尺寸:ConnectCore 9P 處理器類型:ARM926EJ-S 頻率:150 MHz 存儲容量:8 MB, 16 MB 存儲類型:NOR Flash, SDRAM 接口類型:I2C, SPI, UART 工作電源電壓:3.3 V 最大工作溫度:+ 85 C 尺寸:1.97 in x 1.97 in x 6.1 in
20-101-0562 功能描述:模塊化系統(tǒng) - SOM RCM3410 RABBITCORE RoHS:否 制造商:Digi International 外觀尺寸:ConnectCore 9P 處理器類型:ARM926EJ-S 頻率:150 MHz 存儲容量:8 MB, 16 MB 存儲類型:NOR Flash, SDRAM 接口類型:I2C, SPI, UART 工作電源電壓:3.3 V 最大工作溫度:+ 85 C 尺寸:1.97 in x 1.97 in x 6.1 in
20-101-0563 功能描述:模塊配件 RCM3400 PROTOTYPING BOARD RoHS:否 制造商:Lantronix 產(chǎn)品: 用于:
20-101-0565 功能描述:模塊配件 BL2100 W/BTM MNT SOCKETS RoHS:否 制造商:Lantronix 產(chǎn)品: 用于:
20-101-0566 功能描述:模塊配件 BL2100 Friction Lock RoHS:否 制造商:Lantronix 產(chǎn)品: 用于: