非常感謝您使用長沙菊陽微電子有限公司的JY2X00單片機仿真開發系統!JY-E2X00仿真器是采用新一代仿真專利技術開發的單片機仿真產品。由于采用了新一代仿真專利技術,它解決了困擾單片機仿真領域的四大問題:解決了Bondout技術不能仿真增強資源的問題解決了Hooks技術仿真頻率低、且不能支持非Philips芯片的問題解決了IAP功能仿真的問題解決了單片機廠家開發多引腳、多功能而擔心無仿真芯片的問題
上傳時間: 2014-01-15
上傳用戶:AbuGe
1305時鐘芯片驅動,用于彈片機、dsp、msp開發時的計時。
上傳時間: 2016-01-17
上傳用戶:hakim
本人上載的幾個.c文件為自己所寫的代碼,是關于自動化設備廣泛使用的HART協議的主機與從機之間的通信過程(通過串口). resp_data.c-----包含HART從機端需要用到的數據.(采用MSP430F149單片機,IAR Embedded Workbench平臺)
上傳時間: 2013-12-23
上傳用戶:1966640071
MSP430應用手冊,詳細介紹了MSP的應用!
上傳時間: 2013-11-25
上傳用戶:小儒尼尼奧
5.5 register for msp 430,enjoy
標簽: iar 5.5
上傳時間: 2015-05-20
上傳用戶:CrazyPanda
MSP-EXP430G2 LaunchPad (以下簡稱 G2) 是 TI 公司推出的 1 款 MSP430 開發板.本書編寫的初衷是為擴展板編寫實驗教程,換句話說,書是擴展板的衍生品。
上傳時間: 2016-06-15
上傳用戶:想個名字這么難
MSP430F5529 實驗板 (MSP-EXP430F5529) 是一個用于 MSP430F5529 器件(來自最新一代具有集成 USB 的 MSP430 器件)的開發平臺。該實驗板與 CC2520EMK 等眾多 TI 低功耗射頻無線評估模塊兼容。該實驗板能幫助設計者快速使用新的 F55xx MCU 進行學習和開發,其中 F55xx MCU 為能量收集、無線傳感以及自動抄表基礎設施 (AMI) 等應用提供了業界最低工作功耗的集成 USB、更大的內存和領先的集成技術
上傳時間: 2016-07-23
上傳用戶:alienfte
Arduino 是一塊基于開放原始代碼的Simple i/o 平臺,并且具有使用類似java,C 語言的開發環境。讓您可以快速 使用Arduino 語言與Flash 或Processing…等軟件,作出互動作品。Arduino 可以使用開發完成的電子元件例如Switch 或Sensors 或其他控制器、LED、步進電機或其他輸出裝置。Arduino 也可以獨立運作成為一個可以跟軟件溝通的平臺,例如說:flash processing Max/MSP VVVV 或其他互動軟件… Arduino 開發IDE界面基于開放原始碼原則,可以讓您免費下載使用開發出更多令人驚奇的互動作品。 什么是Roboduino? DFRduino 與Arduino 完全兼容,只是在原來的基礎上作了些改進。
上傳時間: 2016-09-19
上傳用戶:xinhoujue
#include <malloc.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #define NULL 0 #define MaxSize 30 typedef struct athletestruct /*運動員*/ { char name[20]; int score; /*分數*/ int range; /**/ int item; /*項目*/ }ATH; typedef struct schoolstruct /*學校*/ { int count; /*編號*/ int serial; /**/ int menscore; /*男選手分數*/ int womenscore; /*女選手分數*/ int totalscore; /*總分*/ ATH athlete[MaxSize]; /**/ struct schoolstruct *next; }SCH; int nsc,msp,wsp; int ntsp; int i,j; int overgame; int serial,range; int n; SCH *head,*pfirst,*psecond; int *phead=NULL,*pafirst=NULL,*pasecond=NULL; void create(); void input () { char answer; head = (SCH *)malloc(sizeof(SCH)); /**/ head->next = NULL; pfirst = head; answer = 'y'; while ( answer == 'y' ) { Is_Game_DoMain: printf("\nGET Top 5 when odd\nGET Top 3 when even"); printf("\n輸入運動項目序號 (x<=%d):",ntsp); scanf("%d",pafirst); overgame = *pafirst; if ( pafirst != phead ) { for ( pasecond = phead ; pasecond < pafirst ; pasecond ++ ) { if ( overgame == *pasecond ) { printf("\n這個項目已經存在請選擇其他的數字\n"); goto Is_Game_DoMain; } } } pafirst = pafirst + 1; if ( overgame > ntsp ) { printf("\n項目不存在"); printf("\n請重新輸入"); goto Is_Game_DoMain; } switch ( overgame%2 ) { case 0: n = 3;break; case 1: n = 5;break; } for ( i = 1 ; i <= n ; i++ ) { Is_Serial_DoMain: printf("\n輸入序號 of the NO.%d (0<x<=%d): ",i,nsc); scanf("%d",&serial); if ( serial > nsc ) { printf("\n超過學校數目,請重新輸入"); goto Is_Serial_DoMain; } if ( head->next == NULL ) { create(); } psecond = head->next ; while ( psecond != NULL ) { if ( psecond->serial == serial ) { pfirst = psecond; pfirst->count = pfirst->count + 1; goto Store_Data; } else { psecond = psecond->next; } } create(); Store_Data: pfirst->athlete[pfirst->count].item = overgame; pfirst->athlete[pfirst->count].range = i; pfirst->serial = serial; printf("Input name:) : "); scanf("%s",pfirst->athlete[pfirst->count].name); } printf("\n繼續輸入運動項目(y&n)?"); answer = getchar(); printf("\n"); } } void calculate() /**/ { pfirst = head->next; while ( pfirst->next != NULL ) { for (i=1;i<=pfirst->count;i++) { if ( pfirst->athlete[i].item % 2 == 0 ) { switch (pfirst->athlete[i].range) { case 1:pfirst->athlete[i].score = 5;break; case 2:pfirst->athlete[i].score = 3;break; case 3:pfirst->athlete[i].score = 2;break; } } else { switch (pfirst->athlete[i].range) { case 1:pfirst->athlete[i].score = 7;break; case 2:pfirst->athlete[i].score = 5;break; case 3:pfirst->athlete[i].score = 3;break; case 4:pfirst->athlete[i].score = 2;break; case 5:pfirst->athlete[i].score = 1;break; } } if ( pfirst->athlete[i].item <=msp ) { pfirst->menscore = pfirst->menscore + pfirst->athlete[i].score; } else { pfirst->womenscore = pfirst->womenscore + pfirst->athlete[i].score; } } pfirst->totalscore = pfirst->menscore + pfirst->womenscore; pfirst = pfirst->next; } } void output() { pfirst = head->next; psecond = head->next; while ( pfirst->next != NULL ) { // clrscr(); printf("\n第%d號學校的結果成績:",pfirst->serial); printf("\n\n項目的數目\t學校的名字\t分數"); for (i=1;i<=ntsp;i++) { for (j=1;j<=pfirst->count;j++) { if ( pfirst->athlete[j].item == i ) { printf("\n %d\t\t\t\t\t\t%s\n %d",i,pfirst->athlete[j].name,pfirst->athlete[j].score);break; } } } printf("\n\n\n\t\t\t\t\t\t按任意建 進入下一頁"); getchar(); pfirst = pfirst->next; } // clrscr(); printf("\n運動會結果:\n\n學校編號\t男運動員成績\t女運動員成績\t總分"); pfirst = head->next; while ( pfirst->next != NULL ) { printf("\n %d\t\t %d\t\t %d\t\t %d",pfirst->serial,pfirst->menscore,pfirst->womenscore,pfirst->totalscore); pfirst = pfirst->next; } printf("\n\n\n\t\t\t\t\t\t\t按任意建結束"); getchar(); } void create() { pfirst = (struct schoolstruct *)malloc(sizeof(struct schoolstruct)); pfirst->next = head->next ; head->next = pfirst ; pfirst->count = 1; pfirst->menscore = 0; pfirst->womenscore = 0; pfirst->totalscore = 0; } void Save() {FILE *fp; if((fp = fopen("school.dat","wb"))==NULL) {printf("can't open school.dat\n"); fclose(fp); return; } fwrite(pfirst,sizeof(SCH),10,fp); fclose(fp); printf("文件已經成功保存\n"); } void main() { system("cls"); printf("\n\t\t\t 運動會分數統計\n"); printf("輸入學校數目 (x>= 5):"); scanf("%d",&nsc); printf("輸入男選手的項目(x<=20):"); scanf("%d",&msp); printf("輸入女選手項目(<=20):"); scanf("%d",&wsp); ntsp = msp + wsp; phead = (int *)calloc(ntsp,sizeof(int)); pafirst = phead; pasecond = phead; input(); calculate(); output(); Save(); }
標簽: 源代碼
上傳時間: 2016-12-28
上傳用戶:150501
LaunchPad,MSP,430sdsfasfasfasMSP430 LaunchPad介紹
上傳時間: 2017-06-12
上傳用戶:lijian0714