Author Topic: Presenting ASCII string on display  (Read 10420 times)

Offline Daniel

  • PLUS+1 Expert
  • ****
  • Posts: 74
  • Karma: +6/-0
Presenting ASCII string on display
« on: January 17, 2014, 03:08:25 PM »
Hi there.

To make it easier for you GUIDE fans out there we have put together a little application example that takes an array of ASCII character codes and presents them on one or more lines on a display. It is designed for DP250, but can easily be expanded for DP6xx as well.
It also comes with a scroll function for cases when the text covers more lines than will fit on the display.

This code is to be seen as a start point example for the users to develop their own implementation and we hope you find it useful.


Best regards
Daniel
PLUS+1® HelpDesk
PLUS+1® Help Desk Team

Offline Marbek_Elektronik

  • PLUS+1 Guru
  • *****
  • Posts: 352
  • Karma: +8/-0
    • Marbek Elektronik
Re: Presenting ASCII string on display
« Reply #1 on: February 16, 2014, 10:49:34 PM »
Hello Daniel,

Do you know the possibility to show more than one character in a screen?
Like a value:"%c%c%c%c....%c%c"
I am not sure, but I think it is possible to display a string of maximum 24 characters.
Each of the 24 characters you can give a data like: chr0, chr1, chr2,....
I can send you an example, if you want me to explain this more exactly.

Bye,
Bernd
Marbek Elektronik, Dipl.-Ing. Bernd Konrad
Dienstleistung, Entwicklung, Herstellung