|(10 intermediate revisions by 5 users not shown)|
|−|These are the routines that turn the juice box in to a cheap serial graphics display. |+|
|−|unix_driver.pl is an example perl unix driver program. |+|
are to a . .
|−|winms_driver.pl is an example perl windows driver program. |+|
| || |
|−|display.c is the c program on the juicebox. Look at this program for documentation. |+|
|−|planet571.jbp and stonehenge.jbp are sample backgrounds but any valid *.jbp can be used as a background. The ex |+|
a . a the color.
|−|driver displays a realtime cpu usage and memory usage on a scrolling grid as well as bargraphs. I alpha blended |+|
|−|ts so the graphics are partially transparent. I have written all of the 12 bit color routines so you have full |+|
|−| to the 4096 colors(I needed them for the alpha blending). |+|
| || |
|−|Do the usual make -f display. mak, then load it onto the juice box |+|
the . , the .
|−|example from openocd: |+|
|−|load_binary /home/steve/juice_box/display/comm_1. bin 0x0c001000 |+|
|−|resume 0x0c001000 |+|
| || |
|−|or if you are one of the few with a fatjbox just put display.bin on your sd card and run. |+|
| || |
|−|From another terminal window run the perl driver program ( note the two nonstandard modules Device::SerialPort 0 |+|
the (): .
|−|d Time::HiRes) |+|
|−|./unix_driver.pl planet571. jbp |+|
| || |
|−|The perl driver program supplies the data over the serial port of the pc to the juicebox. |+|
|−|I assuming that you have a serial port attached to the juice box. |+|
the of the you a to the .
| || |
define bitmaps on the pc, download them over the serial port and display them on the juicebox. The barg |+|
|−|raph and the grid are two intrinsic graphics types that the juice box display program already knows about. |+|
You can the . The the
| || |
|−|Future development: |+|
the the to , a . the the the for you can the your .
|−|I hope someone who is clever will rewrite these routines to only use the jtag port. The arm7 has a software bre |+|
|−|ak instruction,so it is possible to watch the jtag port and wait for the display program running on the juicebo |+|
|−|x to "break", then jtag data into a register and jtag a continue instruction. This would eliminate the costly s |+|
|−|erial port. You can build a jtag for less than $5. Using the jtag also eliminates the need for the sd/xd hack. |+|
|−|So you can use the juice box as a cheap graphics display for your projects like geeXboX or other HTPC. |+|
| || |
Display. tar.gz]] |+|
Latest revision as of 12:51, 8 February 2012
|| Important note: When you edit this page, you agree to release your contribution into the public domain. If you don't want this or can't do this because of license restrictions, please don't edit. This page is one of the Public Domain Help Pages, which can be freely copied into fresh wiki installations and/or distributed with MediaWiki software; see Help:Contents for an overview of all pages. See Project:PD help/Copying for instructions.
There are several ways to start a new page. These can vary based on the type of page started, as well as the wiki and namespace.
MediaWiki makes it very easy to link wiki pages using a standard syntax (see Links). If you (or anyone else) create a link to an article that doesn't exist yet, the link will be coloured red, like this.
Clicking a red link will take you to the edit page for the new article. Simply type your text, click save and the new page will be created.
Once the page has been created, the link will change from red to blue (purple for pages you've visited) indicating that the article now exists.
Usually this is the best way to create a new page, because it means that right from the start, the page will be linked from at least one other place on the wiki (and typically you will want to mesh it into other related pages later). If you are creating a new page without creating any link to it, you may need to ask yourself: Does this page really fit in with the topics already covered in the wiki? Also, how are you expecting visitors to find this page? Normally there is no reason to create a page without first creating a red link to it.
From the search page
If you search for a page that doesn't exist (using the search box and “Go” button on the left of the page) then you will be provided with a link to create the new page.
Using the URL
You can use the wiki's URL for creating a new page. The URL to an article of the wiki is usually something like this:
If you replace
ARTICLE with the name of the page you wish to create, you will be taken to a blank page which indicates that no article of that name exists yet. Clicking the "Edit" page tab at the top of the page will take you to the edit page for that article, where you can create the new page by typing your text, and clicking submit.
Create redirects to your new page
Don't forget to set up redirects when you create a page. If you think another person may search for the page you've created by using a different name or spelling, please create the proper redirect(s). See Help:Redirects
Add your new page to a category
Protecting your new page
Normally a new wiki page can be edited by other people (that is one of the main ideas of a wiki!) However, a sysop could 'protect' the page, if desired, to prevent normal users from editing it.