Forum Rule: Always post complete source code & details to reproduce any issue!
Page 4 of 4 FirstFirst ... 2 3 4
Results 76 to 78 of 78

Thread: Discussion about a simple way to change the sample-rate

  1. #76
    Junior Member
    Join Date
    Jan 2019
    Posts
    11
    Hi,

    I just tried the code out in message #44 and received the following error message when. compiling.

    'clkArr' was not declared in this scope

    Any ideas?

    Thanks!

  2. #77
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    9,700
    Looking at the code its definition is based on the value of the F_PLL.

    What Teensy and clock speed is in use?

    Write a short sketch using the same compile params and speed and Serial.print( F_PLL ) and Serial.print( F_CPU )

  3. #78
    Junior Member
    Join Date
    Jan 2019
    Posts
    11
    Thanks for replying so quick!

    I'm using T3.5 running at 168MHz. I just changed it to 120MHz and it compiled OK!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •