⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 eedemo.txt

📁 用PIC18F4431设计的空调软件
💻 TXT
字号:
Title: eedemo

Target: PIC18F452

Description: A sample project file to be used with HI-TIDE, to demonstrate the 
    usage of EEPROM memory. Data found on the blue DIP switches can be
    logged into the EEPROM. The address read/written to is automatically
    incremented in software. The read/write action occurs periodically at the
    overflow of timer 1. The LED will toggle for each action performed.  The user
    can jump to a specific address via the controls in the virtual IO window.

Controls:
    The switch is used to indicate whether to write or read data from the
    EEPROM. LOW position selects to write, HIGH position selects to read.

    To jump to a particular EEPROM address, enter the high and low nibble of
    the address, on the two red DIP switches, then push the second pushbutton
    to load the address byte.

    To write a byte of data to the EEPROM, first select the LOW position (write)
    on the switch. The high and low nibbles of the data can be entered on the two
    blue DIP switches.

    Reading data can be done by setting the switch to the HIGH position. The data
    read will appear in the serial IO window.

Connections to the PIC18F452:
	switch -> A4 (read/select)
	data entry switch
	blue DIP 1 [1:4] -> PORTD [4:7] (reverse connect) 
	blue DIP 2 [1:4] -> PORTD [0:3] (reverse connect)
	LED -> PORTC5
	address switch:
	red DIP 1 [1:4]  -> PORTB [0:3] (reverse connect)
	red DIP 2 [4:1]  -> PORTC [0:3] (reverse connect)
	pushbutton 2 -> PORTB5 (address load)
	

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -