PIC 单片机控制步进电机源程序 ; STEP_3.ASM (12C508 / 12C509) ; ; Controls a stepping motor driver on GPIO bits 4, 2, 1 and 0. ; ; The direction is controlled by a switch on GPIO bit 3. Bit 5 is not used. ; ; (Typical drivers might include a ULN2803 Octal Driver, 2N2222 or TIP122 ; transistors or power FETs. S ..
[查看全文]
;==================定义单片机与DDS芯片的连接======== DDS_DATA BIT P0.0 DDS_WCLK BIT P0.1 DDS_FQUD BIT P0.2 ;=================================================== ;==================定义DDS控制数据的存放地址======== DDS_DATA0 DATA 40H DDS_DATA1 D ..
[查看全文]