Blog > Re: No Automatic? why so hard?

Home Forums ViewPort No Automatic? why so hard? Re: No Automatic? why so hard?

#11686

Hanno
Keymaster

Hi Fernand,
I am working on making ViewPort automatic… When you use PropBasic instead of SPIN I think it’s already pretty close to what you want. Here’s a sample program which names the shared variable and shares the IO pins:

[code:1kc7wqun]
DEVICE P8X32A, XTAL1, PLL16X
FREQ 80_000_000
PROGRAM Start
temp1 VAR LONG

Start:
WATCH temp1
DO
FOR temp1=0 to 10
PAUSE 10
NEXT
LOOP
[/code:1kc7wqun]

For super simple programming, check out 12Blocks, here's an equivalent program, which also let's you view pins and the global variable:
Hanno