EDF - OnePIC MCU  v1.1.0
source/base/main16.c File Reference

main loop for the 16bit code + base code More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "OnePIC_int.h"
#include "OnePIC_timer.h"
#include "OnePIC_lcd.h"
#include "OnePIC_led.h"
#include "OnePIC_isr.h"
#include "OnePIC_switch.h"
#include "OnePIC_pot.h"
#include "OnePIC_i2c.h"
#include "Compiler.h"
#include "mTouch.h"
#include "OnePIC_mtouch.h"
#include "OnePIC_rtcc.h"
#include "TimeDelay.h"
Include dependency graph for main16.c:

Go to the source code of this file.

Functions

 _CONFIG1 (JTAGEN_OFF &GCP_OFF &GWRP_OFF &ICS_PGx2 &FWDTEN_OFF) _CONFIG2(IESO_OFF &FNOSC_FRCPLL &FNOSC_PRIPLL &FCKSM_CSDCMD &IOL1WAY_OFF &POSCMOD_HS) extern uint8_t printed
int main (void)
 main loop for the 8bit. Tasks include:

Detailed Description

main loop for the 16bit code + base code

16bit

Definition in file main16.c.


Function Documentation

int main ( void  )

main loop for the 8bit. Tasks include:

  • Init
  • take a POT reading
  • poll mTouch buttons
  • process the real-time clock & calender (RTCC)

Definition at line 86 of file main16.c.

Here is the call graph for this function: