8051 and RGB led example using the SiLabs IDE
In this example we connect an RGB led module to a 8051F340 development board, we will have a simple example which cycles through the red, green and blue colors The…
In this example we connect an RGB led module to a 8051F340 development board, we will have a simple example which cycles through the red, green and blue colors The…
In this article, we look at another development board option that we purchased for 8051 development. This time it is a EX-F34x-Q48 from waveshare and it is designed to support…
Instructions by opcode 0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08 0x09 0x0a 0x0b 0x0c 0x0d 0x0e 0x0f 0x00 NOP AJMP LJMP RR INC INC INC INC INC INC…
While browsing through the mikroelectronika website and looking at available downloads, I noticed their Basic compilers for various microcontroller architectures. So after downloading the 8051 version and installing lets look…
Its fairly straightforward to connect a 7 segment display to your 8051 processor, in this example we will do this and show a code example which cycles through the numbers…
In this example we connect an RGB LED to our 8051. In this case we used an RGB LED breakout, this was a common anode device. The schematic below shows…
A very simple example that toggles a set of 8 LEDs based on whether a switch is pressed or not The switch is connected to Port 3.0, the LEDs are…
Again using the ARm + 8051 development board Example 1 #include<reg52.h> void Delay(unsigned int t); void main (void) { unsigned char i; Delay(50000); P2=0x7f; while (1) { for(i=0;i<8;i++) { Delay(50000);…
This example was written using Keil UV2, the board in question was a 8051/ARM development board that I purchased from China. The micro was a STC90C516RD+ The LEDs are connected…