

amptest
This repository has no backups
This repository's network speed is throttled to 100KB/sec
Upgrade your account to fix these warnings, or use backups.vc for automated backups
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
#include <Arduino.h> #include "mode.h" #include "amptimer.h" #include "proto.h" #include "dac.h" void setup() { // init dac_init(); init_proto(); timer_init(); // default mode setMode(eConstant); setFreq(1.0); setAmp(1.0); // usage Serial.print("mode: "); Serial.print(getCurrentModeName()); Serial.print("; amp: "); Serial.print(getAmp(), 2); Serial.print("; freq: "); Serial.print(getFreq(), 3); Serial.print("; sweep: "); Serial.println(getSweepParams()); } void loop() { processCommand(); } |
Commits for amptest/trunk/main.cpp
Revision | Author | Commited | Message |
---|---|---|---|
2 |
![]() |
Wed 20 Jul, 2022 00:52:33 +0000 |