Xilix spartan 3E 旋转编码器接口,脉冲方向识别,AB脉冲滤波 Rotary Encoder Interface Demonstrates how to use the rotar

源代码在线查看: install_left_right_leds.bat

软件大小: 274 K
上传用户: machao844655
关键词: Demonstrates Interface Encoder spartan
下载地址: 免注册下载 普通下载 VIP

相关代码

				REM ##########################################################################
				REM # This will create the iMPACT CMD file and then run iMPACT to program    #    
				REM #    the Spartan-3E device on the Starter Kit board.                     #
				REM ##########################################################################
				@echo setMode -bscan                                      > impact_batch_commands.cmd
				@echo setCable -p auto                                   >> impact_batch_commands.cmd
				@echo addDevice -position 1 -file .\left_right_leds.bit  >> impact_batch_commands.cmd
				@echo addDevice -position 2 -part "xcf04s"               >> impact_batch_commands.cmd
				@echo addDevice -position 2 -part "xcf04s"               >> impact_batch_commands.cmd
				@echo ReadIdcode -p 1                                    >> impact_batch_commands.cmd
				@echo program -p 1                                       >> impact_batch_commands.cmd
				@echo quit                                               >> impact_batch_commands.cmd
				impact -batch impact_batch_commands.cmd
							

相关资源