readme.txt

来自「电脑usb转接成I2C口,全套资料,包括电路图和源代码,驱动等等」· 文本 代码 · 共 38 行

TXT
38
字号
i2c-tiny-usb - (c) 2006 by Till Harbaum ---------------------------------------http://www.harbaum.org/till/i2c_tiny_usbThe firmware code itself is distributed under the GPL, butone of the usb codes comes under a separate license. Plase see the .txt files in usbdrv for details.The default configuration is for a attiny45. The Makefile.mega8allows to compile the device for the Atmega8 cpu. This includesthe possibility to use the atmega8 rs232 for debugging.The attiny45 has to be programmed in high voltage serial programming (hsvp) mode since this application needs thereset pin to be reconfigured for other use.This project supports two usb implementations: the avrusb andusbtiny. Due to this four Makefiles exist:Makefile-avrusb.tiny45    - build with avrusb for Attiny45Makefile-avrusb.mega8     - build with avrusb for Atmega8Makefile-usbtiny.tiny45   - build with usbtiny for Attiny45Makefile-usbtiny.mega8    - build with usbtiny for Atmega8Just type  make -f Makefile-avrusb.xxx programor make -f Makefile-usbtiny.xxx flashto compile and upload the file. Please adjust e.g. programmersettings in the Makefile.If you don't want to recompile the firmware yourself you mightuse the included firmware.hex which is a prebuilt binary for theattiny45. Plase make sure you adjust the fuses accordingly.They need to be set to "external crystal > 8Mhz" and the RESETpin has to be disabled in order to be re-used for applicationspecific purposes. See Makefile-avrusb.tiny45 for more details.

⌨️ 快捷键说明

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