Programming problem with graphics
|
11-21-2014, 01:30 PM
(This post was last modified: 11-21-2014 01:32 PM by ww63.)
Post: #1
|
|||
|
|||
Programming problem with graphics
Hello i've tried a short Programm, to display a analog clock on the screen:
Code:
but it won't display anything. Edit: first it has dipslayed the clock, but after a few tries and minor changes it stopped working. |
|||
11-21-2014, 03:37 PM
(This post was last modified: 11-21-2014 03:40 PM by Han.)
Post: #2
|
|||
|
|||
RE: Programming problem with graphics
You never declared the size of G1. So you're pretty much drawing into nothing, and then copying nothing into G0. Insert DIMGROB_P(G1,320,240) at the top and your clock works as it should.
Graph 3D | QPI | SolveSys |
|||
11-21-2014, 03:55 PM
Post: #3
|
|||
|
|||
RE: Programming problem with graphics
many thanks, i will try that.
|
|||
11-21-2014, 05:00 PM
Post: #4
|
|||
|
|||
RE: Programming problem with graphics
No expert but, using just G0, and something like this could be a start:
Code: #pragma mode( separator(.,;) integer(h32) ) |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)