Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: ADXL345_I2C HX711 MPU6050 PCF8563
UserValues.cpp
00001 #include "mbed.h" 00002 #include "rtos.h" 00003 00004 //���ڶ��� 00005 Serial usart1(PA_9,PA_10); 00006 Serial usart2(USBTX,USBRX); 00007 Serial usart3(PB_10,PB_11); 00008 Serial usart4(PC_10,PC_11); 00009 //ģ��ڶ��� 00010 AnalogIn ADC_ref431(PB_1); 00011 AnalogIn ADC_safeadj(PA_4); 00012 AnalogIn ADC_pt100A(PA_5); 00013 AnalogIn ADC_pt100B(PA_6); 00014 AnalogIn ADC_pt1000C(PA_7); 00015 //������� 00016 AnalogIn ADC_MOTOR_TORQUE(PB_0); 00017 PwmOut PWM_MOTOR(PC_8); 00018 InterruptIn INT_MOTOR(PC_4); 00019 DigitalOut O_MOTOR_CWCCW(PC_3); 00020 DigitalOut O_MOTOR_START(PC_2); 00021 //���ȿ��� 00022 DigitalOut O_HEAT(PC_8); 00023 DigitalOut O_RELAY(PC_14); 00024 //������� 00025 DigitalIn I_UPKEY(PA_15); 00026 DigitalIn I_DOWNKEY(PB_4); 00027 DigitalIn I_LEFTKEY(PB_8); 00028 DigitalIn I_RIGHTKEY(PB_12); 00029 00030 DigitalIn I_ENCODERKEY(PA_8); 00031 00032
Generated on Wed Jul 20 2022 22:14:06 by
1.7.2