Patrick Fitzgerald
Published © GPL3+

AN198 Integrating SDCC 8051 Tools into the Silicon Labs IDE

Application Number 198 was written twenty years ago. Let's update a classic design studio for the twenty first century.

IntermediateProtip1 hour51
AN198 Integrating SDCC 8051 Tools into the Silicon Labs IDE

Things used in this project

Software apps and online services

Silicon Labs IDE 8051

Story

Read more

Code

mainFile.c

C/C++
8051 C code
binary count on all 4 ports
loop timer approx 1/2 minute delay
#include <8051.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 • 44 followers
Contact

Comments

Please log in or sign up to comment.