Functions

mendel.c File Reference

Main file - this is where it all starts, and ends. More...

#include <avr/io.h>
#include <avr/interrupt.h>
#include "config.h"
#include "fuses.h"
#include "serial.h"
#include "dda_queue.h"
#include "dda.h"
#include "gcode_parse.h"
#include "timer.h"
#include "temp.h"
#include "sermsg.h"
#include "watchdog.h"
#include "debug.h"
#include "sersendf.h"
#include "heater.h"
#include "analog.h"
#include "pinio.h"
#include "arduino.h"
#include "clock.h"
#include "intercom.h"

Functions

void io_init (void)
 initialise all I/O - set pins as input or output, turn off unused subsystems, etc
void init (void)
 Startup code, run when we come out of reset.
int main (void)
 this is where it all starts, and ends

Detailed Description

Main file - this is where it all starts, and ends.


Function Documentation

int main ( void   )

this is where it all starts, and ends

just run init(), then run an endless loop where we pass characters from the serial RX buffer to gcode_parse_char() and check the clocks

 All Data Structures Files Functions Variables Defines