Merge branch 'master' of http://git.isthmus.tk:441/btl143/firmware_violet_zf
This commit is contained in:
22
app/main.c
22
app/main.c
@@ -34,6 +34,8 @@
|
||||
********************************************************************************************************************/
|
||||
#include "zf_common_headfile.h"
|
||||
#include "cw_servo.h"
|
||||
#include "by_pt_button.h"
|
||||
#include "by_fan_control.h"
|
||||
|
||||
uint8 mt9v03x_image_cp[MT9V03X_H][MT9V03X_W];
|
||||
uint16_t pwm_cnt = 0;
|
||||
@@ -44,23 +46,19 @@ int main(void)
|
||||
debug_init(); // <20><><EFBFBD>ر<EFBFBD><D8B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڳ<EFBFBD>ʼ<EFBFBD><CABC>MPU ʱ<><CAB1> <20><><EFBFBD>Դ<EFBFBD><D4B4><EFBFBD>
|
||||
|
||||
ips114_init();
|
||||
// mt9v03x_init();
|
||||
|
||||
by_gpio_init();
|
||||
by_exit_init();
|
||||
by_pwm_init();
|
||||
cw_servo_init();
|
||||
// mt9v03x_init();
|
||||
// <20>˴<EFBFBD><CBB4><EFBFBD>д<EFBFBD>û<EFBFBD><C3BB><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʼ<EFBFBD><CABC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
|
||||
while (imu660ra_init()) {};
|
||||
|
||||
|
||||
while (1) {
|
||||
ips114_show_string(0, 0, "temperature");
|
||||
imu660ra_get_temperature();
|
||||
system_delay_ms(100);
|
||||
ips114_show_float(0, 16, imu660ra_temperature, 3, 3);
|
||||
// <20>˴<EFBFBD><CBB4><EFBFBD>д<EFBFBD><D0B4>Ҫѭ<D2AA><D1AD>ִ<EFBFBD>еĴ<D0B5><C4B4><EFBFBD>
|
||||
system_delay_ms(50);
|
||||
if (mt9v03x_finish_flag) {
|
||||
memcpy(mt9v03x_image_cp[0], mt9v03x_image[0], sizeof(mt9v03x_image) / sizeof(uint8_t));
|
||||
ips114_show_gray_image(0, 0, mt9v03x_image_cp[0], 188, 120, 188, 120, 0);
|
||||
}
|
||||
|
||||
|
||||
// <20>˴<EFBFBD><CBB4><EFBFBD>д<EFBFBD><D0B4>Ҫѭ<D2AA><D1AD>ִ<EFBFBD>еĴ<D0B5><C4B4><EFBFBD>
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user