Jan Cumps wrote:What config problems did you have? Triggering? I found that that was the most difficult to understand till I found out that the Arduino code doesn't support complex (and) conditions.
The 2/4 mhz problem that I stated in the video was my misunderstanding. I found out later that with all source files copied, it worked, but in the Uno and 2009 that I have, the capture time is very small.
Jan Cumps wrote:I have a square wave generator here. Is it possible for me to test your issue with a fixed frequency wave? What frequency and duty cycle would be needed to replicate your setup ( my math skills are bad )?
Jan Cumps wrote:The only thing I can think about is that on your version an interrupt is interfering with the sampling. Was not expecting that would be an issue, because the Arduino sketch is directly speaking to the AVG registers.
Jan Cumps wrote:Inform the original writer that you found and fixed a bug. He will be delighted. There's a Issues button on his github.
Jan Cumps wrote:Wow, this has already been fixed by the author on GitHub. Cool. From detection to fix in one day, can only happen with Open Source