Draw with your finger on HP Prime !



Post: #7

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


Post: #8

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


Post: #9

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


Post: #10

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


Post: #11

ok thank you.

Post: #12

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


Forum Jump: