一個(gè)最新的uCOS-II的GCCAVR移植版本.zip
標(biāo)簽: uCOS-II GCCAVR zip 移植
上傳時(shí)間: 2013-06-14
上傳用戶:qiao8960
USB Boot Loader for ATMega 8 編譯器:GCCAVR/ICCAVR
標(biāo)簽: ATMega Loader GCCAVR ICCAVR
上傳時(shí)間: 2015-09-04
上傳用戶:lunshaomo
GCCAVR書籍內(nèi)容包含gcc應(yīng)用安裝及對(duì)avr下載說明和電路的配置
上傳時(shí)間: 2015-11-12
上傳用戶:璇珠官人
uCOS-II V2.8X在GCCAVR環(huán)境下的移植代碼,針對(duì)處理器為atmega128.
標(biāo)簽: uCOS-II GCCAVR atmega 2.8
上傳時(shí)間: 2014-01-03
上傳用戶:ukuk
一個(gè)最新的uCOS-II的GCCAVR移植版本 可移植于mega128的ucos 采用winavr編程
標(biāo)簽: uCOS-II GCCAVR winavr mega
上傳時(shí)間: 2013-12-25
上傳用戶:陽光少年2016
GCCAVR環(huán)境下的測(cè)試程序,可供參考。最新版的winavr編譯。
標(biāo)簽: GCCAVR 環(huán)境 測(cè)試程序
上傳時(shí)間: 2016-09-29
上傳用戶:1051290259
利用GCCAVR讀寫EEPROM源代碼,經(jīng)過本人在開發(fā)板上測(cè)試過,絕對(duì)能用。
標(biāo)簽: GCCAVR EEPROM 讀寫 源代碼
上傳時(shí)間: 2017-03-04
上傳用戶:1159797854
基于AVRStudio和GCCAVR的ATxmega32A4的編程及調(diào)試
標(biāo)簽: avrstudio GCCAVR atxmega32a4 編程 調(diào)試
上傳時(shí)間: 2022-07-20
上傳用戶:qingfengchizhu
16 16點(diǎn)陣顯示漢字原理及顯示程序 #include "config.h" #define DOTLED_LINE_PORT PORTB #define DOTLED_LINE_DDR DDRB #define DOTLED_LINE_PIN PINB #define DOTLED_LINE_SCKT PB1 #define DOTLED_LINE_SCKH PB5 #define DOTLED_LINE_SDA PB3 #define DOTLED_ROW_PORT PORTC #define DOTLED_ROW_DDR DDRC #define DOTLED_ROW_PIN PINC #define DOTLED_ROW_A0 PC0 #define DOTLED_ROW_A1 PC1 #define DOTLED_ROW_A2 PC2 #define DOTLED_ROW_A3 PC3 #define DOTLED_ROW_E PC4 uint8 font[] = { /*-- 調(diào)入了一幅圖像:這是您新建的圖像 --*/ /*-- 寬度x高度=16x16 --*/ 0x00,0x00,0x00,0x00,0x08,0x38,0x18,0x44,0x08,0x44,0x08,0x04,0x08,0x08,0x08,0x10, 0x08,0x20,0x08,0x40,0x08,0x40,0x08,0x40,0x3E,0x7C,0x00,0x00,0x00,0x00,0x00,0x00 }; static void TransmitByte(uint8 byte); static void SelectRow(uint8 row); static void FlipLatchLine(void); static void TransmitByte(uint8 byte) { uint8 i; for(i = 0 ; i < 8 ; i ++) { if(byte & (1 << i)) { DOTLED_LINE_PORT |= _BV(DOTLED_LINE_SDA); } else { DOTLED_LINE_PORT &= ~_BV(DOTLED_LINE_SDA); } //__delay_cycles(100); DOTLED_LINE_PORT |= _BV(DOTLED_LINE_SCKH); //__delay_cycles(100); DOTLED_LINE_PORT &= ~_BV(DOTLED_LINE_SCKH); //__delay_cycles(100); } } static void SelectRow(uint8 row) { //row -= 1; row |= DOTLED_ROW_PIN & 0xe0; DOTLED_ROW_PORT = row; } static void FlipLatchLine(void) { DOTLED_LINE_PORT |= _BV(DOTLED_LINE_SCKT); DOTLED_LINE_PORT &= ~_BV(DOTLED_LINE_SCKT); } void InitDotLedPort(void) { DOTLED_LINE_PORT &= ~(_BV(DOTLED_LINE_SCKT) | _BV(DOTLED_LINE_SCKH)); DOTLED_LINE_PORT |= _BV(DOTLED_LINE_SDA); DOTLED_LINE_DDR |= _BV(DOTLED_LINE_SCKT) | _BV(DOTLED_LINE_SCKH) | _BV(DOTLED_LINE_SDA); DOTLED_ROW_PORT |= 0x1f; DOTLED_ROW_PORT &= 0xf0; DOTLED_ROW_DDR |= 0x1f; } void EnableRow(boolean IsEnable) { if(IsEnable) { DOTLED_ROW_PORT &= ~_BV(DOTLED_ROW_E); } else { DOTLED_ROW_PORT |= _BV(DOTLED_ROW_E); } } void PrintDotLed(uint8 * buffer) { uint8 i , tmp; for(i = 0 ; i < 16 ; i ++) { tmp = *buffer ++; TransmitByte(~tmp); tmp = *buffer ++; TransmitByte(~tmp); SelectRow(i); FlipLatchLine(); } } void main(void) { InitDotLedPort(); EnableRow(TRUE); while(1) { PrintDotLed(font); __delay_cycles(5000); } } //---------------------------------------------------- config.h文件 #ifndef _CONFIG_H #define _CONFIG_H //#define GCCAVR #define CPU_CYCLES 7372800L #ifndef GCCAVR #define _BV(bit) (1 << (bit)) #endif #define MSB 0x80 #define LSB 0x01 #define FALSE 0 #define TRUE 1 typedef unsigned char uint8; typedef unsigned int uint16; typedef unsigned long uint32; typedef unsigned char boolean; #include <ioavr.h> #include <inavr.h> #include "dotled.h" #endif //-----
標(biāo)簽: 16 點(diǎn)陣顯示 漢字 顯示程序
上傳時(shí)間: 2013-11-18
上傳用戶:mnacyf
三份GCC中文教學(xué)文檔,很全面,是學(xué)習(xí)GCCAVR的好教材
上傳時(shí)間: 2014-01-07
上傳用戶:qq521
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1