HP Forums

Full Version: Draw with your finger on HP Prime !
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

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

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

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

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

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

ok thank you.