Shop OBEX P1 Docs P2 Docs Learn Events
mini calculator on P2, written with FLEXC — Parallax Forums

mini calculator on P2, written with FLEXC

loadp2  -t -b230400 -p/dev/ttyUSB0 evalc.binary
( Entering terminal mode.  Press Ctrl-] to exit. )
mini calculator on P2

1+2
=
3
((1+2)/(4+6)) * 3
=
0.9
exp(1)
=
2.71828
log(exp(2))
=
2
sqrt(2)
=
1.41421
pi
=
3.14159
sin(pi)
=
not implemented yet
0
help
currently supported: sqrt() fabs() exp() log() pi e


Sign In or Register to comment.