PDA

View Full Version : Graphics Settings



Harry1
02-02-2007, 04:50 AM
Hello,

I am currently working on a lcd:·http://www.parallax.com/detail.asp?product_id=603-32000

and i am also using the Graphics class and so i am wondering what would be good values to put for the setup method

PUB setup(x_tiles, y_tiles, x_origin, y_origin, base_ptr) | bases_ptr, slices_ptr
'' Set bitmap parameters
''
''·· x_tiles······· - number of x tiles (tiles are 16x16 pixels each)
''·· y_tiles······· - number of y tiles
''·· x_origin······ - relative-x center pixel
''·· y_origin······ - relative-y center pixel
''·· base_ptr······ - base address of bitmap

inservi
02-05-2007, 12:34 AM
Hello,

Are you looked in the Graphics_Demo.spin in the library furnished with the Propeller tool ?

dro

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
in medio virtus

AndreL
02-05-2007, 04:52 AM
Also, this is covered in detail with demos in the "Game programming for propeller powered hydra", I show use of many of the graphics commands in real demos. But, as noted the parms are described in the code itself, they just take a little research to figure out what's what with some experiments.

Andre'
·

Harry1
02-07-2007, 02:39 AM
inservi said...
Hello,

Are you looked in the Graphics_Demo.spin in the library furnished with the Propeller tool ?

dro


yes, i am

Harry1
02-08-2007, 05:16 AM
so does anyone know what i should put for those values?