The Museum of HP Calculators

HP Forum Archive 21

[ Return to Index | Top of Index ]

Draw with your finger on HP Prime !
Message #1 Posted by Mic on 23 Oct 2013, 5:27 a.m.

Hi everybody,

I wrote a little program with it you can draw with your finger on your favourite calculator !

Video : http://youtu.be/M8cTkd96EK4

Keys : APPS key : thin pencil Home key : thick pencil Vars key : very thick pencil

0: black 1: Green 2: Blue 3: Red 4: Brown 5: Yellow 6: Pink 7: Purple 8: Grey 9: turquoise

Download : http://mic.nic.free.fr/hp/draw_prime.zip

      
Re: Draw with your finger on HP Prime !
Message #2 Posted by steindid on 23 Oct 2013, 8:03 a.m.,
in response to message #1 by Mic

Fine !

The emulator have syntax error because 'h' is needed at the end of the hexadecimal color

L1:={#000000h,#26D500h,#0094FFh,#FF0000h,#712A2Ah,#FFD800h,#FF006Eh,#88006Eh,#808080h,#00FFFFh};

DS

            
Re: Draw with your finger on HP Prime !
Message #3 Posted by Mic on 23 Oct 2013, 9:02 a.m.,
in response to message #2 by steindid

On my emulator and calc, it works without the "h".

                  
Re: Draw with your finger on HP Prime !
Message #4 Posted by Marcus von Cube, Germany on 23 Oct 2013, 9:57 a.m.,
in response to message #3 by Mic

It depends on the default integer base. It's always better to be explicit, i. e. coding #1Ah instead of #1A.

                        
Re: Draw with your finger on HP Prime !
Message #5 Posted by Mic on 23 Oct 2013, 11:21 a.m.,
in response to message #4 by Marcus von Cube, Germany

ok thank you.

                  
Re: Draw with your finger on HP Prime !
Message #6 Posted by CompSystems on 23 Oct 2013, 10:00 a.m.,
in response to message #3 by Mic

you must include the postfix "h" outside HEX MODE (BIN, OCT)


[ Return to Index | Top of Index ]

Go back to the main exhibit hall