Skip to content

Commit

Permalink
Updated applications at last state before new freeRTOS branch.
Browse files Browse the repository at this point in the history
  • Loading branch information
feilipu committed Feb 26, 2016
1 parent b514b1c commit 222557d
Show file tree
Hide file tree
Showing 52 changed files with 10,815 additions and 21,527 deletions.
33 changes: 33 additions & 0 deletions 4MHz_Oscillator/main.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
////////////////////////////////////////////////////////
////////////////////////////////////////////////////////
//// main.c
////////////////////////////////////////////////////////
////////////////////////////////////////////////////////

#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <math.h>

#include <avr/io.h>
#include <avr/pgmspace.h>
#include <avr/eeprom.h>
#include <util/delay.h>



/*--------------Functions---------------------------*/

/* Main program loop */
int main(void) __attribute__((OS_main));

int main(void)
{

DDRD = 0xFF;
while (1)
{
PIND = 0xFF;
}
}

Loading

0 comments on commit 222557d

Please sign in to comment.