瀏覽代碼

re-trim the comments in the example.

modified an older 'detached' copy of the example source to try multiple
filters out and didn't notice the old comments till reviewing later.
dds
robsoles 11 年之前
父節點
當前提交
f95bdca19b
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      examples/CalcBiquadToneControl/CalcBiquadToneControl.ino

+ 2
- 2
examples/CalcBiquadToneControl/CalcBiquadToneControl.ino 查看文件

@@ -55,8 +55,8 @@ elapsedMillis chgMsec=0;
float tone1=0;

void loop() {
// every 10 ms, check for adjustment the tone & vol
if (chgMsec > 10) { // more regular updates for actual changes seems better.
// every 10 ms, check for adjustment
if (chgMsec > 10) {
float tone2=analogRead(15);
tone2=floor(((tone2-512)/512)*70)/10;

Loading…
取消
儲存