• slider image 514
  • slider image 516
  • slider image 517
  • slider image 518
  • slider image 519
:::


Browsing this Thread:   1 Anonymous Users






Re: 求助~~有沒有使用PIC10F202 的project 可以提供??
#5
資深會員
資深會員


查看用戶資訊
thank you Ryang ;
去年11月(thanksgiving )回國參加小姨子婚禮,
Microchip 沒有課可以參加, so pity.
只好買了本單晶片微電腦專題製作論壇 回家KK囉!
內容還不錯 ,說明也很詳細, 只是用了些怪怪指令??
有給它不懂 such as bz,bnz,bc,bnc,....
我是有張對照表, 但是 無法對照入座 ...
目前在製作一個緊急撥號工具給老爸老媽用,
發射機掛在身上, 緊急時按下sw,
接收機透過電話線 call 我 .
還有在製作 touch Dimmer 程式, 想把家中電燈升級 ...
有成果時再跟大家分享..

發表於: 2007/3/17 0:43
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 求助~~有沒有使用PIC10F202 的project 可以提供??
#4
版主
版主


查看用戶資訊
Duck,

Long time no see !!! 跑到哪裡去修練了‧

發表於: 2007/3/16 17:14
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 求助~~有沒有使用PIC10F202 的project 可以提供??
#3
資深會員
資深會員


查看用戶資訊
Microchip AN958, AN521, 有範例供參考..
可是笨鴨偶 ,有很多地方是有看 ,但是也有給它不懂?
您就看看咩.

發表於: 2007/3/16 0:45
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 求助~~有沒有使用PIC10F202 的project 可以提供??
#2
版主
版主


查看用戶資訊
list      p=10F206            ; list directive to define processor
    
#include <p10F206.inc>        ; processor specific variable definitions

    
__CONFIG   _MCLRE_OFF _CP_OFF _WDT_OFF

'__CONFIG' directive is used to embed configuration word within .asm file.
The lables following the directive are located in the respective .inc file
See respective data sheet for additional information on configuration word.




;***** 
VARIABLE DEFINITIONS
temp            EQU         0x08        
;example variable definition
Delay_Var1        EQU        0x09 
Delay_Var2        EQU        0x0a


;**********************************************************************
    
ORG     0x1FF             processor reset vector

Internal RC calibration value is placed at location 0x1FF by Microchip
; as a movlw kwhere the k is a literal value.

    
ORG     0x000             coding begins here 
    movwf   OSCCAL            
update register with factory cal value 
    bsf    OSCCAL
,0

start    
    nop                       
example code
    movlw   0xFF              
example code
    movwf   temp              
example code

remaining code goes here


    movlw    
B'11110011 
    movwf    CMCON0

    movlw    B'
11111100 
    tris    GPIO

Null_Loop

    bsf    GPIO
,0
    bsf    GPIO
,1

    call    Delay

    bcf    GPIO
,0
    bcf    GPIO
,1

    call    Delay

    
goto    Null_Loop 

Delay
    clrf    Delay_Var1
Delay_Loop2
    clrf    Delay_Var2
Delay_Loop1
    nop
    nop
    decfsz    Delay_Var2
,F
    
goto    Delay_Loop1
    decfsz    Delay_Var1
,F
    
goto    Delay_Loop2
    
return

    
END                       directive 'end of program'

發表於: 2007/3/9 18:06
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


求助~~有沒有使用PIC10F202 的project 可以提供??
#1
新會員
新會員


查看用戶資訊
小弟想PIC10F202 做一些project....請幫忙!!

發表於: 2007/3/5 22:57
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部







You can view topic.
不可以 發起新主題
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.

[進階搜尋]


:::

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... ]

教育訓練中心

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