#include "C:\\Users\\Takahito\\Documents\\WIZ-C Projects\\RadioFC02\\RadioFC03A_Auto.h" #include #include // // This file includes all user definable routines. It may be changed at will as // it will not be regenerated once the application has been generated for the // first time. // unsigned long FreqMeasurement(void); //******************************************************************************* // // Insert your interrupt handling code if required here. // Note quick interrupts are used so code must be simple // See the manual for details of quick interrupts. // static unsigned int MeasurementCnt; static unsigned short freqOF; void UserInterrupt() { if(PIR1&(1< 16){ ad4 =15; } //Sメーター表示 LCDPrintAt(0,1); LCDc(0x53); for (cnt = 0; cnt < ad4; cnt++) LCDc(0xFF); for (; cnt < 15; cnt++) LCDc(0x20); } Wait(10); } // // User occurrence code // unsigned long FreqMeasurement(void) { unsigned long freq; unsigned short freqS; // TIMER1の設定 PIR1&=~(1<