Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 05:45 12 Nov 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : New Version Micromite Firmware V5.05.01

     Page 2 of 2    
Author Message
astro1
Regular Member

Joined: 26/06/2016
Location: Australia
Posts: 53
Posted: 08:40am 29 Nov 2018
Copy link to clipboard 
Print this post

  Geoffg said  
  astro1 said   After a play command is run, the touch stops responding.

No, it works fine.

Did you actually test your example? Your program will fall over because it tries to play the sound while it is still playing from a previous loop. Also the repeated printing to the screen hides what is going on. This short program makes it much easier to test:

Do
If Touch(x) <> -1 Then
Print Touch(x), Touch(y)
If Touch(x) > 100 Then
On Error Skip
Play WAV "am.wav"
EndIf
EndIf
Loop

And this works fine (touch keeps responding).

Geoff


My short code does keep running for me. I tried your example and touch stops responding as soon as play starts. This is on an Explore100 board. Same code on Explore64 and touch keeps working.
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3308
Posted: 09:35am 29 Nov 2018
Copy link to clipboard 
Print this post

Interesting... My test code was on an Explore 100.

A long time ago I had an issue where one SD card in particular interfered with the touch controller (caused it to hang). I have a lot of test gear here but none of it showed anything wrong and I could never work out why the touch controller was so sensitive. In the end I wrote it off to experience as the problem only occurred with one SD card on one Explore 100 board. However, it sounds like you have the same issue.

The fix is easy, try a number of SD cards from different manufacturers.

Geoff


Geoff Graham - http://geoffg.net
 
     Page 2 of 2    
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025