导航: 老古网老古论坛XMOS公共讨论区XMOS开源项目区单片机程序设计嵌入式系统广告区域
→高手帮我看看阿!这是什么单片机的定义方式阿!急啊!!!!

* 80641: 高手帮我看看阿!这是什么单片机的定义方式阿!急啊!!!!

   lzflln05 
lzflln05发表的帖子 

 高手帮我看看阿!这是什么单片机的定义方式阿!急啊!!!!
if motor_type% = 1 then
 #18.29 = 2797
 #18.30 = 750
 #5.07 = 34
 #5.08 = 2780
 #5.10 = 0.87
elseif motor_type% = 2 then
 #18.29 = 2851
 #18.30 = 750
 #5.07 = 42
 #5.08 = 2780
 #5.10 = 0.88
elseif motor_type% = 3 then
 #18.29 = 2851
 #18.30 = 750
 #5.07 = 42
 #5.08 = 2780
 #5.10 = 0.88
elseif motor_type% = 4 then
 #18.29 = 2883
 #18.30 = 750
 #5.07 = 42
 #5.08 = 2780
 #5.10 = 0.88
elseif motor_type% = 5 then
 #18.29 = 2851
 #18.30 = 750
 #5.07 = 51
 #5.08 = 2790
 #5.10 = 0.87
elseif motor_type% = 6 then
 #18.29 = 2883
 #18.30 = 750
 #5.07 = 51
 #5.08 = 2790
 #5.10 = 0.87
elseif motor_type% = 7 then
 #18.29 = 2883
 #18.30 = 750
 #5.07 = 60
 #5.08 = 2780
 #5.10 = 0.89
elseif motor_type% = 8 then
 #18.29 = 2883
 #18.30 = 750
 #5.07 = 70
 #5.08 = 2810
 #5.10 = 0.87
elseif motor_type% = 9 then
 #18.29 = 2812
 #18.30 = 750
 #5.07 = 84
 #5.08 = 2800
 #5.10 = 0.88
elseif motor_type% = 11 then
 #18.29 = 2649
 #18.30 = 1000
 #5.07 = 42
 #5.08 = 2780
 #5.10 = 0.88
elseif motor_type% = 12 then
 #18.29 = 2825
 #18.30 = 1000
 #5.07 = 51
 #5.08 = 2790
 #5.10 = 0.87
elseif motor_type% = 13 then
 #18.29 = 2875
 #18.30 = 1000
 #5.07 = 51
 #5.08 = 2790
 #5.10 = 0.87
elseif motor_type% = 14 then
 #18.29 = 2825
 #18.30 = 1000
 #5.07 = 51
 #5.08 = 2790
 #5.10 = 0.87
elseif motor_type% = 15 then
 #18.29 = 2875
 #18.30 = 1000
 #5.07 = 60
 #5.08 = 2780
 #5.10 = 0.89

发表时间:2005年6月30日20:16:35

  
回复该帖

本主题共有 1 帖,分页:>>>>>该主题的所有内容[1]条

 *树形目录 只列出部分跟帖的标题以及简单的摘要信息 该主题的部分跟帖如下:

[上一篇帖子]:[求助]:为什么我改 startup.a51 不成功受下文的启发,我仿照其方式改
[下一篇帖子]:青帮我看看这是什么单片机的语言!!!!!!Normalparameter: { #