view delay.c @ 9:be0a1ac64d97

- Add ellipse drawing. - Factor out stripe drawing to a function. - Rename LCD functions to match other code. - Add filled circles. - Rotate coords for landsacpe.
author Daniel O'Connor <darius@dons.net.au>
date Sun, 05 Feb 2012 16:41:42 +1030
parents 58d76cf522ff
children
line wrap: on
line source

#include <stdint.h>
#include "stm32f10x.h"
#include "delay.h"

/* This is a bit rough and ready */
void
delay(__IO uint32_t nCount) {
    __IO uint32_t i;
    
    for(; nCount != 0; nCount--)
	for (i = 0; i < 3900; i++)
	    ;
}