Main Site Documentation

Snippet - T35 - Simple scrolling debugging output


#1

T35 - Simple scrolling debugging output

I put together this simple module to output debugging information on the display. This would eventually be replaced by an application’s UI.

It offers options for the built in large and small fonts as well as the option to mirror to the VS debugging output.

To use, simply set the T35 property, and then call AddToLog with what you want to display on the screen. All that needs to be done is to set the namespace to your solution’s name so that the fonts can be referenced.


#2

Good job!


#3

Thanks – it 's just a quick and dirty way for me to build a device, and see some output. I could then do the UI later on once the HW stuff was taken care of.

Perhaps it would be more efficient to use a string[] array instead of the arraylist, but it’s a temporary output only.


#4

Usefull for sure, thanks


#5

very cool indeed…
would you m,ind adding your class to the Exception Logger below…

http://wiki.tinyclr.com/index.php?title=User:Jay_Jay

thanks.


#6

It’s free to use as you wish.


#7

Thanks, i will make the changes…and update to Codeshare…


#8

Your library is very comprehensive … mine not so much :slight_smile:


#9

Thanks to those working on this (and +1’d). It’s a super handy thing to have. Somebody had posted a similar snippet (auto scrolling text display) in another forum that never made it to codeshare. This one will be easier to find and tweak!


#10

Excellent - I was just about to implement something very similar when this showed up!

Suggestion: Instead of referencing the T35 display specifically, you’re only ever actually using SimpleGraphics, so if you store a reference to SimpleGraphics instead wouldn’t it then allow it to work for Seeed’s 128x128 OLED too? Also maybe Sytech’s 4.3" screen and GHI’s forthcoming 7". I’m sure number of lines could be calculated dynamically from screen parameters too rather than be hard-coded.

RorschachUK


#11

Certainly makes sense - I’ll look into making these changes.


#12

Any progress on this, the logger and exception-handler is “basic” starter stuff for a new project. And it looks very promising.

Any news?


#13

Nice job, Very useful!