![]() |
Forum Index : Microcontroller and PC projects : Question Regarding settick FAST
Author | Message | ||||
joker Newbie ![]() Joined: 06/02/2024 Location: GermanyPosts: 28 |
Hello, I try to collect some data really fast and found the command settick FAST <frequency>, <target> in the manual. With this it should be possible to read data with up to 50kHz. Unfortunately, I can't get it to work. MMBasic always complains with "Expression Syntax". My command is: "fasttick FAST 1000,function" and I use it on a CMM2 board. and it works fine as "fasttick 1,function" Does anybody have an idea why this does not work? I scanned already the source code but can't find any problem. It should work. Best Regards Matthias |
||||
Bleep Guru ![]() Joined: 09/01/2022 Location: United KingdomPosts: 570 |
"fasttick FAST 1000,function" Is this a typo? |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7464 |
AFAIK there is no SETTICK FAST on the PicoMite. There is on the CMM2, I think (my manual is old but I did make a note in it). Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
PhenixRising Guru ![]() Joined: 07/11/2023 Location: United KingdomPosts: 1134 |
Interesting that it's in the source. I was wondering about this myself because SYNC has µS resolution and depending on what you are doing, might be an option(?) What would be even cooler is if MATH.PID could be set to sub-mS because this has the highest priority and could be used as a general purpose ISR. |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7464 |
It's a single source file for all MMBasic versions though, I think. Are you sure it's enabled for the PicoMite? It may be in the source but not enabled. No good asking me, I have an aversion to C that makes me go all twitchy and I have to shut my eyes when I see it or I'm likely to put a hammer through the monitor. ;) Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
joker Newbie ![]() Joined: 06/02/2024 Location: GermanyPosts: 28 |
Ahhh, yes. It should be settick FAST 1000,function Well spotted ;-) Matthias |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |