Initial commit of files

This commit is contained in:
2021-01-22 10:16:20 -05:00
parent 32d165ec8f
commit ed92211680
534 changed files with 68563 additions and 19 deletions

20
utils/picrate/picrate.c Normal file
View File

@ -0,0 +1,20 @@
#include <stdio.h>
int main()
{
int pic;
int rate;
double usb;
int div;
for ( pic=1; pic<=64 ; pic++ )
{
rate = 40000000 / ((pic+1)*16);
usb = 3000000.0 / (double)rate;
div = (int)usb;
if ( usb - (double)div < .01 )
printf( "%d = %d, %.2f\n", pic, rate, usb );
}
}