Re: 請教PIC震盪器採用外部RC的方式
|
|
|||
---|---|---|---|---|
初級會員
|
發表於: 2012/12/18 12:01
|
|||
剛摸PIC的電源工程師
PIC12F508[font=Impact]剛摸PIC的電源工程師 PIC12F508[/font] |
||||
|
Re: PIC 可以變頻寫出來嗎?
|
||||
---|---|---|---|---|
初級會員
|
抱歉 我是想說PIC可以用在5VSB方面的電源變頻嗎??
就是AC/DC!flyback架構!
發表於: 2008/8/14 1:27
|
|||
剛摸PIC的電源工程師
PIC12F508[font=Impact]剛摸PIC的電源工程師 PIC12F508[/font] |
||||
|
PIC 可以變頻寫出來嗎?
|
||||
---|---|---|---|---|
初級會員
|
電源控制 可以用PIC控制 寫出 變頻嗎??
發表於: 2008/8/13 2:40
|
|||
剛摸PIC的電源工程師
PIC12F508[font=Impact]剛摸PIC的電源工程師 PIC12F508[/font] |
||||
|
Re: EPC XP有人安裝MP LAB IDE??
|
||||
---|---|---|---|---|
初級會員
|
感覺 這樣帶EPC寫程式 好屌!!
雖然 我是菜鳥!!
發表於: 2008/7/24 15:52
|
|||
剛摸PIC的電源工程師
PIC12F508[font=Impact]剛摸PIC的電源工程師 PIC12F508[/font] |
||||
|
Re: mcw mcp?差異??
|
||||
---|---|---|---|---|
初級會員
|
Thank!原來 如此!
發表於: 2008/7/24 15:50
|
|||
剛摸PIC的電源工程師
PIC12F508[font=Impact]剛摸PIC的電源工程師 PIC12F508[/font] |
||||
|
EPC XP有人安裝MP LAB IDE??
|
||||
---|---|---|---|---|
初級會員
|
EPC XP有人安裝MP LAB IDE??
我家有台EPC 7吋4G XP版! 用這台可以OK嗎?
發表於: 2008/7/24 11:27
|
|||
剛摸PIC的電源工程師
PIC12F508[font=Impact]剛摸PIC的電源工程師 PIC12F508[/font] |
||||
|
有沒有新手入門檔案可以參考?
|
||||
---|---|---|---|---|
初級會員
|
我有DEMO版 跟IC 還有ICD2 但是常常設定出問題??
有講義可以參考嗎?? 就是很基本的入門設定 我現在 只想把環境工具設好 然後驗證DEMO版程式 才能進一步 修改!! 有人知道哪裡有下載嗎??
發表於: 2008/7/23 23:10
|
|||
剛摸PIC的電源工程師
PIC12F508[font=Impact]剛摸PIC的電源工程師 PIC12F508[/font] |
||||
|
這是哪裡錯啦??
|
||||
---|---|---|---|---|
初級會員
|
Clean: Deleting intermediary and output files.
Clean: Done. Executing: "C:\pic30_tools\bin\pic30-gcc.exe" -mcpu=30F4012 -c -x c "Eg1_BlinkLED.c" -o"Eg1_BlinkLED.o" -g Eg1_BlinkLED.c: In function `main': Eg1_BlinkLED.c:79: error: `_U1RXIF' undeclared (first use in this function) Eg1_BlinkLED.c:79: error: (Each undeclared identifier is reported only once Eg1_BlinkLED.c:79: error: for each function it appears in.) Eg1_BlinkLED.c: At top level: Eg1_BlinkLED.c:109: warning: `no_auto_psv' attribute directive ignored Halting build on first failure as requested. BUILD FAILED: Wed Jul 23 22:46:58 2008 我剛剛執行程式 出現??
發表於: 2008/7/23 22:50
|
|||
剛摸PIC的電源工程師
PIC12F508[font=Impact]剛摸PIC的電源工程師 PIC12F508[/font] |
||||
|
我開啟DEMO程式卻出現??
|
||||
---|---|---|---|---|
初級會員
|
我有一塊DM300027實驗版
裡面有三個範例! 一個是給30F系列使用! 我有30F4012 IC 去跑這範例: #include "p30F2010.h" // the above include path may be different for each user. If a compile // time error appears then check the path for the file above and edit // the include statement above. #define XTFREQ 7372800 //On-board Crystal frequency #define PLLMODE 16 //On-chip PLL setting #define FCY XTFREQ*PLLMODE/4 //Instruction Cycle Frequency #define BAUDRATE 9600 #define BRGVAL ((FCY/BAUDRATE)/16)-1 int main(void) { ADPCFG = 0xFF; //Make analog pins digital LATE = 0x0; TRISE = 0xF0; //Configure LED pins as output TMR1 = 0; // clear timer 1 PR1 = 0x7270; // interrupt every 250ms IFS0bits.T1IF = 0; // clr interrupt flag IEC0bits.T1IE = 1; // set interrupt enable bit T1CON = 0x8030; // Fosc/4, 1:256 prescale, start TMR1 TRISF = 0xC; U1BRG = BRGVAL; U1MODE = 0x8000; // Reset UART to 8-n-1, alt pins, and enable U1STA = 0x0440; // Reset status register and enable TX & RX _U1RXIF=0; // Clear UART RX Interrupt Flag while(1) { int a; while (_U1RXIF==0); // Wait and receive one Character a = U1RXREG; while(!U1STAbits.TRMT); // Echo back received character with quotes U1TXREG = '"'; while(!U1STAbits.TRMT); U1TXREG = a; while(!U1STAbits.TRMT); U1TXREG = '"'; while(!U1STAbits.TRMT); U1TXREG = ' '; _U1RXIF=0; // Clear UART RX Interrupt Flag } return 0; } void __attribute__((interrupt, no_auto_psv)) _T1Interrupt(void) { IFS0bits.T1IF = 0; // clear interrupt flag LATE ^= 0xF; //Toggle LED's } 開專案有一個檔名LED.mcp 但是都出現 LED.mcp is already open. 為何??
發表於: 2008/7/23 22:35
|
|||
剛摸PIC的電源工程師
PIC12F508[font=Impact]剛摸PIC的電源工程師 PIC12F508[/font] |
||||
|