leeres plottyfile wirft exception
This commit is contained in:
parent
198feef12f
commit
22a5b466db
7 changed files with 492 additions and 1 deletions
|
@ -103,6 +103,7 @@ void kennlinieZweiterQuadrant()
|
|||
if(ba[k] > bb[k] && bb[k] % 50 == 0 && bb[k] != 0)
|
||||
{
|
||||
uint16_t i_d = ba[k] - bb[k];
|
||||
std::cout << "added" << std::endl;
|
||||
pf.addDot(Dot(u_gs, i_d, bb[k] / 50));
|
||||
}
|
||||
curve++;
|
||||
|
|
|
@ -3,6 +3,11 @@
|
|||
#include <b15f/b15f.h>
|
||||
#include <b15f/plottyfile.h>
|
||||
|
||||
/*
|
||||
* Inkrementiert DAC 0 von 0 bis 1023 und speichert zu jeder Ausgabe den Wert von ADC 0 in einem Puffer.
|
||||
* Die Funktion ADC 0 abhängig von DAC 0 wird als Graph geplottet.
|
||||
*/
|
||||
|
||||
const char PLOT_FILE[] = "plot.bin";
|
||||
|
||||
int main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue