URL
https://opencores.org/ocsvn/sqmusic/sqmusic/trunk
[/] [sqmusic/] [trunk/] [1942/] [pwm2log.cc] - Diff between revs 5 and 6
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 5 |
Rev 6 |
Line 52... |
Line 52... |
cin.getline( buf, sizeof(buf) );
|
cin.getline( buf, sizeof(buf) );
|
// conversion
|
// conversion
|
try {
|
try {
|
long int sample=0;
|
long int sample=0;
|
// skip first line
|
// skip first line
|
|
buf[0]=0;
|
|
while( strncmp("1942 START",buf, 11 ) && !cin.eof() && !cin.fail() )
|
cin.getline( buf, sizeof(buf) );
|
cin.getline( buf, sizeof(buf) );
|
|
|
cin.getline( buf, sizeof(buf) );
|
cin.getline( buf, sizeof(buf) );
|
while( buf[0] && !cin.eof() ) {
|
while( buf[0] && !cin.eof() ) {
|
double pwm[6];
|
double pwm[6];
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.