Description: int main(void)
{
u16 temp
/*****************************/
SYS_Configuration() // data_reset() //
pp.kp=1
pp.ki=1
pp.kd=3
/*************************/
lcd_init() // lcd_clr() // *bled=1 // lcd_write_String(1,0,"*************")
lcd_disp16_16(1,1,0) //
lcd_disp16_16(3,1,1) //
lcd_disp16_16(5,1,2) //
lcd_disp16_16(7,1,3) //
lcd_disp16_16(2,3,4) //
lcd_disp16_16(4,3,5) //
lcd_disp16_16(6,3,6) //
lcd_write_String(1,5,"*************")
Delay(10000000)
lcd_clr() //
lcd_write_String(0,0,"SP=")
lcd_write_String(0,1,"SET=")
lcd_write_String(0,2,"T1CCR=")
lcd_write_String(0,3,"JADI")
lcd_write_String(0,4,"JADD")
lcd_16_bcd(36,0,feedback_value,0) //
lcd_16_bcd(24,1,set_value,0) //
lcd_16_bcd(36,2,pwm_out,0) //
/**************main***************/
while(1)
To Search:
File list (Check if you may need any files):
driverProgram\bldc\Boot_flash\Boot_fash.axf
.............\....\..........\Boot_fash.hex
.............\....\..........\Boot_fash.htm
.............\....\..........\Boot_fash.lnp
.............\....\..........\Boot_fash.plg
.............\....\..........\Boot_fash.sct
.............\....\..........\Boot_fash.tra
.............\....\..........\Boot_fash_sct.Bak
.............\....\..........\Boot_flash.axf
.............\....\..........\Boot_flash.hex
.............\....\..........\Boot_flash.htm
.............\....\..........\Boot_flash.lnp
.............\....\..........\Boot_flash.plg
.............\....\..........\Boot_flash.sct
.............\....\..........\Boot_flash.tra
.............\....\..........\cortexm3_macro.o
.............\....\..........\main.crf
.............\....\..........\main.d
.............\....\..........\main.o
.............\....\..........\STM32F10x.o
.............\....\..........\stm32f10x_it.crf
.............\....\..........\stm32f10x_it.d
.............\....\..........\stm32f10x_it.o
.............\....\..........\syster_config.crf
.............\....\..........\syster_config.d
.............\....\..........\syster_config.o
.............\....\..........\_5110.crf
.............\....\..........\_5110.d
.............\....\..........\_5110.o
.............\....\.....ram\Boot_ram.axf
.............\....\........\Boot_ram.htm
.............\....\........\Boot_ram.lnp
.............\....\........\Boot_ram.plg
.............\....\........\Boot_ram.sct
.............\....\........\Boot_ram.tra
.............\....\........\Boot_ram_sct.Bak
.............\....\........\cortexm3_macro.o
.............\....\........\ExtDll.iex
.............\....\........\main.crf
.............\....\........\main.d
.............\....\........\main.o
.............\....\........\STM32F10x.o
.............\....\........\stm32f10x_it.crf
.............\....\........\stm32f10x_it.d
.............\....\........\stm32f10x_it.o
.............\....\........\syster_config.crf
.............\....\........\syster_config.d
.............\....\........\syster_config.o
.............\....\........\_5110.crf
.............\....\........\_5110.d
.............\....\........\_5110.o
.............\....\dcmot.Opt
.............\....\dcmot.plg
.............\....\dcmot.Uv2
.............\....\dcmot_Boot_flash.dep
.............\....\dcmot_Boot_ram.dep
.............\....\dcmot_Opt.Bak
.............\....\dcmot_Target 1.dep
.............\....\dcmot_Uv2.Bak
.............\....\JLinkArm_Boot_flash.ini
.............\....\JLinkArm_Boot_ram.ini
.............\....\listing\Boot_fash.map
.............\....\.......\Boot_flash.map
.............\....\.......\Boot_ram.map
.............\....\.......\cortexm3_macro.lst
.............\....\.......\STM32F10x.lst
.............\....\RAM.ini
.............\....\STM32F10x.s
.............\....\user\main.c
.............\....\....\stm32f10defgpio_out.h
.............\....\....\stm32f10x_it.c
.............\....\....\syster_config.c
.............\....\....\_5110.c
.............\....\....\_5110.h
.............\Library\inc\cortexm3_macro.h
.............\.......\...\stm32f10x_adc.h
.............\.......\...\stm32f10x_bkp.h
.............\.......\...\stm32f10x_can.h
.............\.......\...\stm32f10x_dma.h
.............\.......\...\stm32f10x_exti.h
.............\.......\...\stm32f10x_flash.h
.............\.......\...\stm32f10x_gpio.h
.............\.......\...\stm32f10x_i2c.h
.............\.......\...\stm32f10x_iwdg.h
.............\.......\...\stm32f10x_lib.h
.............\.......\...\stm32f10x_map.h
.............\.......\...\stm32f10x_nvic.h
.............\.......\...\stm32f10x_pwr.h
.............\.......\...\stm32f10x_rcc.h
.............\.......\...\stm32f10x_rtc.h
.............\.......\...\stm32f10x_spi.h
.............\.......\...\stm32f10x_systick.h
.............\.......\...\stm32f10x_tim.h
.............\.......\...\stm32f10x_tim1.h
.............\.......\...\stm32f10x_type.h
.............\.......\...\stm32f10x_usart.h
.............\.......\...\stm32f10x_wwdg.h
.............\.......\...\stm32gpio_out.h
.............\.......\src\STM32F10xR.LIB
.............\.......\...\s