Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Output to the screen
« previous next »
  • Print
Pages: [1]

Author Topic: Output to the screen  (Read 2024 times)

Offline fed

  • Member
  • *
  • Posts: 54
Output to the screen
« on: June 23, 2007, 09:06:58 PM »
I have been trying to output to the rec screen.  I have figured out where to put the code, but I don't know which code to use.

snprinf seems to work well to print to a line, but I want to print lower in the screen.  I figure I need to use "screens.puts(0, 0, buf);" or something like that, but I'm not sure what.  Nothing seems to work.

Does anyone know where I could find the "screen.*" codes, and their meanings?
Logged

Offline Bagder

  • Member
  • *
  • Posts: 1452
    • Daniel's site
Re: Output to the screen
« Reply #1 on: June 24, 2007, 03:43:06 PM »
you need to call lcd_upate() to get the contents of the internal buffer get sent to the LCD hardware!
Logged

Offline scorche

  • Administrator
  • Member
  • *
  • Posts: 666
Re: Output to the screen
« Reply #2 on: June 25, 2007, 03:19:11 AM »
s/lcd_upate()/lcd_update()

Just thought something like this would really confuse someone if they didn't know it was a typo.  ;)
Logged

Offline Bagder

  • Member
  • *
  • Posts: 1452
    • Daniel's site
Re: Output to the screen
« Reply #3 on: June 25, 2007, 05:36:08 AM »
Now where's that typing class I should be taking...
Logged

Offline fed

  • Member
  • *
  • Posts: 54
Re: Output to the screen
« Reply #4 on: June 26, 2007, 11:44:11 PM »
Thanks!
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Output to the screen
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.073 seconds with 15 queries.