Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - Single chip microcomputer sends shaping array data
Single chip microcomputer sends shaping array data
Create your array

Uchar code shuzu[]={0xv3B, 0x3b, 0x3b, ................. 0x0d };; //I don't know what your V3B means.

void main()

{

while( 1)

{

if(button_ 1)

{

Uchar i.

for(I = 0; I< 17; i++)

{

SBUF = shuzu[I];

//Wait for the serial transmission to complete. Specifically, check the PDF yourself. You can use while here (put the sending completion sign here).

//This completes the sending of the array, and initializes the serial port and baud rate.

}

}

}

}