• suksun
  • ranking : สมาชิกทั่วไป
  • email : suksun_nungam@yahoo.com
  • วันที่สร้าง : 2007-05-17
  • จำนวนเรื่อง : 5
  • จำนวนผู้ชม : 2035
  • จำนวนผู้โหวต : 8
  • ส่ง msg :
dsPic
การเขียนโปรแกรมเพื่อใช้สำหรับ dsPic
Permalink : http://www.oknation.net/blog/suksun
วันพุธ ที่ 23 พฤษภาคม 2550
การติดต่อ A/D สำหรับ dsPIC2010
Posted by suksun , ผู้อ่าน : 350 , 16:16:09 น.  
พิมพ์หน้านี้


;This program read A/D ,AN0-AN4 and shows the reading on Hyper terminal;=============================================================================;;; ;;==============================================================================.equ __30F2010, 1.include "p30f2010.inc".include "serial_comm.inc";------------------------------------------------------------------------------;Glob....

อ่านต่อ

วันจันทร์ ที่ 21 พฤษภาคม 2550
การติดพอร์ทอนุกรม(UART) dsPIC
Posted by suksun , ผู้อ่าน : 288 , 14:15:12 น.  
พิมพ์หน้านี้


;This program tests UART ;=============================================================================;;; Use Timer 1 to flash LED;;==============================================================================.equ __30F2010, 1.include "p30f2010.inc".include "serial_comm.inc";------------------------------------------------------------------------------;Global Declarations.global....

อ่านต่อ

วันศุกร์ ที่ 18 พฤษภาคม 2550
PIC 18f458
Posted by suksun , ผู้อ่าน : 127 , 15:32:59 น.  
พิมพ์หน้านี้


โปรแกรมนี้สำหรับ PIC18F458 ทำให้ LED กระพริบตามเวลาที่กำหนดlist p=18f458#include<p18f458.inc>DT1 EQU 0x30DT2 EQU 0x31DT3 Equ 0x32 ORG 0x0000 MOVLW 0x07 MOVWF ADCON1 CLRF TRISALOOP BCF PORTA,0  CALL DELAY  BSF PORTA,0  CALL DELAY  GOTO LOOPDELAY MOVLW 0x04  MOVWF DT1DEL0 CLRF DT2DEL1 CLRF DT3DEL2 DECFSZ DT3,F  GOTO DEL2  DECFSZ DT2,F  GOTO DEL1  DECFSZ DT1,F  GOTO DEL0  RETURN  END....

อ่านต่อ

dsPic เบื้องต้น
Posted by suksun , ผู้อ่าน : 237 , 13:24:20 น.  
พิมพ์หน้านี้


dsPic ได้ถูกนำมาใช้ในการควบคุมแบบดิจิตอล เป็น DSP ขนาด 16 bit  Acc  2 ตัว ตัวละ 40  bit  เบอร์ 2010 ใช้สำหรับ motor control....

อ่านต่อ


/1
<< พฤษภาคม 2007 >>
อา พฤ
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31