;**************************************************************************************** ; This is a program to test the function of reading&writting for EEPROM. ; You can observe the value of register(30H--?) buy changing "VALU" and "WRC_". ; Notice that:it must be { ADDR WRC_<=0ffh } ..
[查看全文]
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 ..
[查看全文]