Patrick Fitzgerald
Published © GPL3+

AN104 Integrating Keil 8051 Tools into the Silicon Labs IDE

Silicon Laboratories is a light-weight design studio for coding 8051 chips. Configure it to compile using Keil sample.

IntermediateProtip2 hours151
AN104 Integrating Keil 8051 Tools into the Silicon Labs IDE

Things used in this project

Software apps and online services

Silicon Laboratories IDE
Keil C51 Compiler

Story

Read more

Code

mainK.c

C/C++
8051 C code for Keil Compiler
#include <REG51.h>
void DELAY(int count);
int main() {
    while(1)
    {   P1++; P2--; P3++; P0++; DELAY(30000);}}
void DELAY(int count)
    {	int i; for(i=0; i<count; i++){ ; }}

Credits

Patrick Fitzgerald
124 projects • 51 followers

Comments