We would like to build a community for Small Basic programmers of any age who like to code. Everyone from total beginner to guru is welcome. Click here to register and share your programming journey!


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
LDController
#6
Thanks,   that seems to be working fine.  I'm a bit perplexed...  Here's the final debug code I had running...
Code:
While ("True")
 
  LDButtons = LDController.Buttons(1)
  LDRecord = LDButtons + "  " + Clock.ElapsedMilliseconds
  File.WriteLine(DebugFile, DebugLineNo, LDRecord)
  DebugLineNo = DebugLineNo + 1
 

  Program.Delay(5)

EndWhile

...and I don't quite see why that wasn't producing the correct results...  I put the clock onto the output to see how long the action was taking and it seemed to be averaging around 140 - 160 ms...

Cheers
Reply


Messages In This Thread
LDController - by GBHalford - 10-01-2024, 05:35 AM
RE: LDController - by AbsoluteBeginner - 10-01-2024, 07:06 AM
RE: LDController - by litdev - 10-01-2024, 07:48 AM
RE: LDController - by GBHalford - 10-01-2024, 09:38 AM
RE: LDController - by litdev - 10-01-2024, 09:47 AM
RE: LDController - by GBHalford - 10-01-2024, 10:14 AM
RE: LDController - by litdev - 10-01-2024, 10:33 AM
RE: LDController - by z-s - 10-01-2024, 01:05 PM
RE: LDController - by GBHalford - 10-02-2024, 03:36 AM
RE: LDController - by z-s - 10-02-2024, 05:18 AM
RE: LDController - by litdev - 10-02-2024, 05:33 AM
RE: LDController - by GBHalford - 10-02-2024, 06:10 AM
RE: LDController - by z-s - 10-02-2024, 08:57 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)