Posts: 190
Threads: 82
Joined: Aug 2012
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
Posts: 19
Threads: 5
Joined: Sep 2013
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
Posts: 190
Threads: 82
Joined: Aug 2012
On my emulator and calc, it works without the "h".
Posts: 3,283
Threads: 104
Joined: Jul 2005
It depends on the default integer base. It's always better to be explicit, i. e. coding #1Ah instead of #1A.
Posts: 213
Threads: 60
Joined: Mar 2013
you must include the postfix "h" outside HEX MODE (BIN, OCT)
Posts: 190
Threads: 82
Joined: Aug 2012