View Single Post
Old 04-23-2012, 01:19 AM   #95 (permalink)
thingstodo
Master EcoModder
 
Join Date: Sep 2010
Location: Saskatoon, canada
Posts: 1,488

Ford Prefect - '18 Ford F150 XLT XTR

Tess - '22 Tesla Y LR
Thanks: 746
Thanked 565 Times in 447 Posts
Arduino, logging and communications

Sketch LoggerGraphics

Try the 4D OLED shield, a 1.7 inch OLED with a built-in joystick, a speaker ... this is pretty complicated, and WAY overkill for what I need. This thing is a user interface that can be used on it's own, without the arduino!

The splash screen shows on powerup. I need to initialize the screen by sending a 'U', then send commands to display text.

After many iterations, some web searchs, reading the manual ... I got to the point of initializing the autobaud so the splash screen does not show. That's it for progress.

No display of any text as yet. The 'simple' serial interface still requires a bunch of numbers, X and Y starting location, text color, font number, etc. 'Hello world\n' requires 6 numbers before the text string. The text color is a 2-byte string, but there is no explanation of how to choose the colors or what the bits mean.

If the order was changed, with the text string first, the program interface could leave parameters that are not supplied as 'default'. No provision for that.

/Begin rant

The web site has no examples to get 'something' working. I think that the Arduino has spoiled me for the normal ****ty documentation that comes with products... maybe its not the documentation, maybe I can't figure out how to print control characters from the Arduino ... but the IDEA that it makes SENSE to send 6 control codes to display a simple text string. That the way a GEEK thinks ... no one who has USED other people's code would think that is a good way to do things. Why NOT have the program interface over-ride parameters that are not supplied with defaults that just MAKE SENSE?

end rant/
  Reply With Quote