MPLAB IDE 裏有一個叫作 MPLAB SIM 的軟體模擬器,許多人利用它來協助程式除錯。MPLAB SIM可以做到單步執行(Single stepping)、設定 breakpoint、利用 __DEBUG variable 與 fprintf 在視窗列印除錯訊息,還有一個最重要的特色是,MPLAB SIM 可以利用 Stopwatch 視窗測量程式執行的時間。底下是 MPLAB SIM 的一個執行畫面:
- Arduino 教學系列
- Arduino 入門教學
- TOC
- Arduino Video Workshop
- 認識 Arduino
- 準備開發環境
- Lab1 Blink
- Lab2 Button
- Lab3 Fade
- Lab4 potentiometer
- Lab5 LED Bar Graph
- Lab6 Buzzer
- Lab7 Seven Segments
- Lab8 Photocell
- Lab9 2x16 LCD
- Lab10 SHT15 Humidity and Temperature Sensor
- 製作一個溫溼度記錄器(三部曲)
- Lab11 74hc595
- Lab12 Cascading 74hc595
- Lab13 74hc595 and 7 Segs
- Lab14 74hc595 and HD44780
- Lab15 4-digit Seven Segments
- Lab16 Servo
- Lab17 Photocell and Servo
- Lab18 3x4 Keypad
- Lab19 5x7 LED Matrix
- Lab20 PIR
- Lab21 Relay
- IRRemote 紅外線遙控教學
- Amarino: Android meets Arduino
- Bluetooth
- Arduino Keyboard
- V-USB
- ISP
- Arduino 入門教學
2010年12月5日 星期日
2010年6月26日 星期六
2010年2月3日 星期三
紅外線遙控電視機 (NEC IR)
Introduction
本文示範紅外線遙控電視機。我電視機用的是 NEC IR Protocol。看完本文後,你將學會用紅外線遙控講 NEC IR Protocol 的各種家電設備,比如 VCR, DVD Player, 投影機、音響等。
Highlights
- 材料 (Parts List)
- 接線 (Wiring)
- 範例程式
材料 (Parts List)
| Name | Photo |
| Arduino Duemilanove x 1 | |
| OSE-8L Infrared Emitter LED x 1 | |
| 36Ω 電阻 x 1 | |
| 電晶體 x 1 (2n7002 mosfet) |
接線 (Wiring)
標籤:
紅外線,
Arduino,
Networking
訂閱:
文章 (Atom)