• slider image 442
  • slider image 492
  • slider image 493
  • slider image 494
  • slider image 495
  • slider image 496
:::

論壇索引


Board index » All Posts




Re: 請問震盪器...
中級會員
中級會員


我也是用APP001~~~
也試著要用RC來做~~~
也有將板子上的JP1,JP2拿掉~~~
將JP3(OSC接上)~~
接上一顆4.6K(R)+22P(C)~~~
用示波器去量CLKI~~~
發覺只有5V~~~
並不會產生頻率~~~
有人知道為什麼嗎???
謝謝~~~

發表於: 2005/11/4 13:33
頂部


Re: 在燒錄時出現的警告?
版主
版主


意思是說 ICD2 找不到正確的 PIC, 檢查一下 ICSP 燒錄的接線是否有錯,IC 有沒又給電?

發表於: 2005/11/4 12:23
頂部


Re: 在燒錄時出現的警告?
初級會員
初級會員


之前有碰過,好像是選的 Device 與你要燒的 Device 不正確...

進去 configure --> select Device 看看ㄅㄟ

再量一量你的 18F4431 的 VDD 是否有供電吧?



發表於: 2005/11/4 12:10
頂部


有人要說說參加seminar後的感想或意見嗎
資深會員
資深會員


參加的是台中場的seminar
我的比較簡單
覺得內容太多, 為求時間,大部分內容都籠統帶過, 感覺有點不知所云

另外,,,,最重要的是......
怕吃太多餅乾會變胖, 都不太敢吃太多, 不知道下次會不會換成水果

發表於: 2005/11/4 12:09
頂部


請教PICC的問題
初級會員
初級會員


剛開始學用HI-TECH的PICC18來寫了一個LCD的驅動程式,可就是通不過,請各位大俠指點。
void IN_LCD()
{PORTD=PORTD&0xf8;
TRISD=TRISD&00;
delay3(0x32);
Send_High_4bits(0x30);/*************Warning[000]function declared implicit int*/
delay3(0x0a);
Send_High_4bits(0x30);
delay2();
Send_High_4bits(0x30);
delay2();
Send_High_4bits(0x20);
delay2();
Send_Cmd(0x28);/*************Warning[000]function declared implicit int*/
delay2();
Send_Cmd(0x0c);
delay2();
Send_Cmd(0x01);
delay3(0x05);
Send_Cmd(0x06);
delay2();
Send_Cmd(0x80);
delay2();
Send_Cmd(0x01);
delay3(0x32);}

putcLCD(unsigned char c)
{unsigned char LCD_byte;
LCD_byte=c;
Send_High_LCD(LCD_byte);/*************Warning[000]function declared implicit int*/
LCD_byte=LCD_byte>>4;
Send_High_LCD(LCD_byte);
delay1();}

Send_High_LCD(unsigned char c)
{unsigned char LCD_temp;/************Error[000]arguments redeclared */
LCD_temp=c;
RD2=0;
PORTD=(LCD_temp&0xf0)|(PORTD&0x0f);
RD1=1;
RD3=1;
RD3=0;}

發表於: 2005/11/4 10:38
頂部


Re: 請板大或者有用過APP001的大人幫我ㄧ下
初級會員
初級會員


可以報名參加workshop課程啊...右方'教育訓練'裡面啦...


發表於: 2005/11/4 10:13
頂部


Re: 請問震盪器...
初級會員
初級會員


哪一款Demo Board? app001嗎? 如是, 那本版面右側的教材及講義裡,有很多資料您去抓下來看看!! 應該就會讓您睡覺都會笑著ㄋㄟ...

那...用RC震盪,當然要選RC去燒錄囉...!!

發表於: 2005/11/4 10:08
頂部


如何ISP (自我燒錄 )
新會員
新會員


我使用4550,是ENHANCE FLASH,所以應該有支援自我燒錄....
請問要如何進行??
需要何設備?及軟體??


謝謝

發表於: 2005/11/4 9:37
頂部


Re: 該使用哪顆PIC比較好?
新會員
新會員


是4*4的沒錯
燒錄器目前還沒有
一台好貴 買不下
還在尋找好心人中
語法都一樣嗎?

發表於: 2005/11/2 2:33
頂部


Re: 請教10F220的A/D功能??
資深會員
資深會員


哎....呀....呀.... 忙了半天, 原來10F220 還沒上市呀????
也好!!! 那就先規劃程式憋 ...
基本上我是不懂A/D程式 所以就東抄西湊 完成下面的程式 希望Dear 大哥哥大姐姐幫忙看一看 行不行的通囉!!

; PIC10F220 A/D TEST
#include <p10F220.inc> ; processor specific variables
; Configure: Controls the reset pin, code protect, oscillator selection, WDT.
__CONFIG _MCLRE_OFF & _CP_OFF & _WDT_OFF & _MCPU_ON & _IOFSCS_4MHZ
;-----[Defines & Variable Assignments]---------------------------------------
cblock 0x08 ; GP0=AN0,GP1=GREEN LED ,GP2=RED LED,,
count ; count buffer

;-----[Reset Vector]---------------------------------------------------------
ORG 0x000 ; PIC goes here (Origin of code) after reset.
movwf OSCCAL ; Load the oscillator calibration factor.
movlw b'10001111' ; Disable wake on pin change, Enable pull-up.
OPTION
movlw b'00001001' ; Set GP0=AN0 ,GP1,GP2=O/P, GP3 to an input .
TRIS GPIO ; Register 06h
movlw b'01000001' ; GP0 to an A/D input , ADC ON
movwf ADCON0 ;
goto init
;-----------------------------[Sub routine]-----------------------------------
dly_25us
movlw d'8'
movwf count
keep
decfsz count,f
goto keep
retlw 0


;-----[Main routine]---------------------------------------------------------
init
call dly_25us ; Wait for AN0 to set up .
bsf ADCON0, GO ; start A/D conversion for AN0
call dly_25us ; Wait for coversion .
wait
btfsc ADCON0,GO ; Conversion complete yet? GO=0= Done.
goto wait ; No,
movf ADRESH,W ; write A/D result into W.
sublw b'11100101' ; 4.5V- BATT ,
btfsc STATUS,Z ; If Z=1 then BATT = 4.5V
goto ....... ; goto Yellow LED routine.
btfss STATUS,C ; If C=0 then BATT > 4.5V,
goto...... ; goto Green LED routine.
sublw b'11001100' ; 4.0V- BATT ,
btfsc STATUS,Z ; If Z=1 then BATT = 4.0V
goto ....... ; goto Red LED routine.
btfss STATUS,C ; If C=0 then BATT > 4.0V,
goto...... ; goto Yellow LED routine.
goto..... ; If C=1 ,so , BATT < 4.0v then goto Red LED routine.
end

發表於: 2005/11/2 1:18
頂部



« 1 ... 6881 6882 6883 (6884) 6885 6886 6887 ... 7525 »



:::

Microchip連結

https://www.facebook.com/microchiptechnologytaiwan/
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=13
https://mu.microchip.com/page/tmu
http://elearning.microchip.com.tw/modules/tad_link/index.php?cate_sn=1
https://page.microchip.com/APAC-PrefCenters-TW.html
http://www.microchip.com/
http://www.microchip.com/treelink
http://www.microchipdirect.com/
http://www.microchip.com.cn/newcommunity/index.php?m=Video&a=index&id=103
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=2
http://www.microchip.com.tw/Data_CD/eLearning/index.html
http://www.microchip.com.tw/RTC/RTC_DVD/
https://www.microchip.com/development-tools/
https://www.youtube.com/user/MicrochipTechnology
[ more... ]

教育訓練中心

!開發工具購買
辦法說明 [業界客戶] [教育單位]
----------------------------------
!校園樣品申請
辦法說明 [教師資格] [學生資格]
----------------------------------