參數(shù)資料
型號: TLE4201SI
廠商: Electronic Theatre Controls, Inc.
英文描述: TLE4201SI
中文描述: TLE4201SI
文件頁數(shù): 6/7頁
文件大小: 357K
代理商: TLE4201SI
TLE 4201 SI
Aigner Sebastian
Samstag, 22. Februar 2003
// MotorbrueckemitButton.c
// Aigner Sebastian
// Mittwoch, 19. Februar 2003
#include "D:\Picc\Examples\16F877.H"
#fuses HS,NOPROTECT,NOWDT
#use delay(clock=20000000)
//#use rs232(baud=9600,xmit=PIN_C6,rcv=PIN_C7)
main()
{
int pressed=0;
output_low(PIN_D6);
output_low(PIN_D7);
output_high(PIN_D5);
output_high(PIN_A3);
set_tris_a(0b00000111);
while (true)
{
if(input(PIN_A2) && pressed != 1)
{
if(pressed == 2)
{
}
output_high(PIN_D6);
output_low(PIN_D7);
pressed=1;
}
if(input(PIN_A1) && pressed != 0)
{
output_high(PIN_D6);
output_high(PIN_D7);
pressed=0;
}
if(input(PIN_A0) && pressed != 2)
{
if(pressed == 1)
{
}
output_low(PIN_D6);
output_high(PIN_D7);
pressed=2;
}
}
}
// 0 for stopped both low
// 1 for forward PIN_D6-high PIN_D7-low
// 2 for backward PIN_D6-low PIN_D7-high
// set for
// motor stopped
// for h bridge command power
// set buttonpower high
// set PIN_A2 PIN_A1 PIN_A0 to input
output_low(PIN_D6);
output_low(PIN_D7);
delay_ms(500);
// 0,5 sec pause for motorstoping
// if running vice versa
output_low(PIN_D6);
output_low(PIN_D7);
delay_ms(500)
// 0,5 sec pause for motorstoping
// if running vice versa
相關(guān)PDF資料
PDF描述
TLFGE23TP TOSHIBA InGaALP LED
TLGE23TP TOSHIBA InGaALP LED
TLPGE23TP TOSHIBA InGaALP LED
TLPYE23TP TOSHIBA InGaALP LED
TLFGE53T TOSHIBA InGaALP LED
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
TLE4202B 制造商:INFINEON 制造商全稱:Infineon Technologies AG 功能描述:2-A DC Motor Driver
TLE4203 制造商:INFINEON 制造商全稱:Infineon Technologies AG 功能描述:4-A DC Motor Driver
TLE4203S 制造商:INFINEON 制造商全稱:Infineon Technologies AG 功能描述:4-A DC Motor Driver
TLE4204 制造商:INFINEON 制造商全稱:Infineon Technologies AG 功能描述:3-A MOTOR DRIVER
TLE4205 功能描述:馬達(dá)/運(yùn)動/點火控制器和驅(qū)動器 1-A DC Motor Driver RoHS:否 制造商:STMicroelectronics 產(chǎn)品:Stepper Motor Controllers / Drivers 類型:2 Phase Stepper Motor Driver 工作電源電壓:8 V to 45 V 電源電流:0.5 mA 工作溫度:- 25 C to + 125 C 安裝風(fēng)格:SMD/SMT 封裝 / 箱體:HTSSOP-28 封裝:Tube