Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: OT: LED circuit



Am Montag, 12. August 2002 22:40 schrieben Sie:
> Hi,
>
> maybe you can use a SAA1064 IC (4 digit LED driver with I2C)
> and connect it to the LPT port
>
> Roland

Where can people get that from? Or for that matter, where can you get 
components at an acceptable price.

Servus
  Casandro

-- 
#define T 1000
#define M T*T
int main(){int x,y;for(y=0;y<20;y++){for(x=0;x<70;x++){int
c=-1;int xr,yr,zr;int xp,yp,zp;xp=yp=zp=0;xr=(x-35);yr=(y-
10);zr=10;while(1){if(yp>T){c=5;if((((zp)/T)%2==1)^(((xp+M
)/T)%2==1))c=0;break;}if(zp>T*10){c=0;if (((yp*yp+xp*xp)/(
T*100))%2==1)c=2;break;}zp+=zr;xp+=xr;yp+=yr;}printf("%c",
c+32);}printf("\n");}};




Home | Main Index | Thread Index