Beispiel #1
0
/* in all cases set b will be cleared */
void merge(t_set seta, t_set setb) {
    int i;
    for(i=0; i < seta[0]; i++) {
	if (inset(setb,i))
	    addset(seta,i);
    }
    clearset(setb);
}
 void dsp_single_colour(uint8_t DH,uint8_t DL)
{
 unsigned int i,j;
 addset(0,0);
 for (i=0;i<320;i++)
    for (j=0;j<240;j++)
        wr_com16(DH,DL);

}