Description
- Board color may be different
- High quality FR4 DOUBLE SIDE pcb
- Brand -Emerging Technologies
- MADE IN INDIA
- Its Operating voltage is 2.2 to 5.5 volt DC .
- It has 8K bytes of Flash memory , UART ,SPI AND I2C.
You can use KEIL IDE to make the C program and compile .After making the program you can upload the hex file using the STC ISP programming software .For uploading program you need STC USB to TTL auto programmer. For uploading the program you have to connect four pins in developing board. They are gnd, 5 volt, p3.0 and P3.1.
Sample c program using keil
#include “stc8g.h”
void Delay1ms() ;
void main()
{
P3M0 =0XFF;
P3M1 = 0x0;
P5M0 =0XFF;
P5M1 = 0x0;
// P3M0 = 0xb2;
//P3M1 = 0xb1;
while(1)
{
P3 = 0xF;
P5 = 0xFF;
Delay1ms();
Delay1ms();
Delay1ms();
Delay1ms();
Delay1ms();
Delay1ms();
P3 = 0x00; // Turn ON diodes on PORT3
P5 = 0;
Delay1ms();
Delay1ms();
Delay1ms();
Delay1ms();
Delay1ms();
Delay1ms();
} // Endless loop
}
void Delay1ms() //@12.000MHz
{
unsigned char i, j, k;
i = 4;
j = 205;
k = 187;
do
{
do
{
while (–k);
} while (–j);
} while (–i);
}