本帖最后由 skyraider 于 2024-11-18 21:36 编辑
求助各位大佬,我新入行学习PIC10单片机,选用PIC10F202T型号,使用MPLAB X IDE V6.20开发,代码如下,但烧录成功后无法测到输出的电压。
代码如下:
#pragma config WDTE = OFF // Watchdog Timer (WDT disabled)
#pragma config CP = OFF // Code Protect (Code protection off)
#pragma config MCLRE = OFF // Master Clear Enable (GP3/MCLR pin fuction is digital I/O, MCLR internally tied to VDD)
// #pragma config statements should precede project file includes.
// Use project enums instead of #define for ON and OFF.
#include <xcweibo.com/ttarticle/p/show?id=2309405102169824035125
|