Shop OBEX P1 Docs P2 Docs Learn Events
Log television — Parallax Forums

Log television

TumblerTumbler Posts: 323
edited 2011-07-23 12:14 in Accessories
Hi all,

At home i have an xbee connected with a propeller backpack to show some log(s)
and i wanted to show that tv screen on my laptop screen too.

I have create a php file for it, and it looks like this:
http://www.tumbler.be/parallax/TVFRAME/tv_frame.php

To get a real looking backpack-like log, install the parallax font first.
You can download it here: http://www.tumbler.be/parallax/TVFRAME/Parallax.ttf

Cool huh.
But there is more
You can add some text into the window, just add a parameter after the link.
like this: http://www.tumbler.be/parallax/TVFRAME/tv_frame.php?add=this is another text

to clear the screen, add ?cls after the link
to reset the message counter (right top) add ?reset after the link.

And i want to share it with you all, you can download a zip with all files and images here: http://www.tumbler.be/parallax/TVFRAME/TVFRAME.zip

Just unpack and upload it to a php powered webserver. (like wampserver)

Have fun with it.

Comments

  • Beau SchwabeBeau Schwabe Posts: 6,566
    edited 2011-07-22 09:59
    Cool! ... with a <div></div> or <span></span> for each line and a little JavaScript, you could easily have dynamic 'television' updates. Dynamic HTML code updates are a little tricky inside of tables and CSS script, but can be done. One way is to read in all of the 'InnerHTML' through JavaScript and parse it there before sending it back as a NEW 'InnerHTML'
  • TumblerTumbler Posts: 323
    edited 2011-07-23 02:11
    *UPDATE*

    Added a remote controller, you can choose a channel from 0 to 9.
    and added some extra's like timestamp, datestamp, ip and some html tags (bold,italic)


    preview.jpg

    Download V2: http://www.tumbler.be/parallax/TVFRAME/TVFRAMEV2.zip
    730 x 402 - 45K
  • Beau SchwabeBeau Schwabe Posts: 6,566
    edited 2011-07-23 12:14
    Tumbler,

    Is this page being served from a Spinneret? ... just curious.

    My initial thought was that you had the Spinneret serving the page, but now I'm not so sure.
Sign In or Register to comment.