Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Checking Calculator Type in TI-BASIC

Tags:

ti-basic

I've been looking to make a program in TIBASIC that can evaluate what kind of calculator the code is running from, no assembly. Since I don't think there's anything that would get information from the about screen. Here's one piece of code I came up with:

:ClrDraw
:Text(0,0,0
:PxlTest(6,1

This will have different outputs based on which calculator it was run on. Are there any other tricks of a similar nature, or is there a better way of doing this?

like image 839
Julian Lachniet Avatar asked Aug 03 '16 11:08

Julian Lachniet


People also ask

Is ti-basic easy?

TI-BASIC is very easy to program, especially when compared to assembly, which is the other main language that can be used to program TI graphing calculators.

What calculators can you code on?

Learn the Basics with TI-Basic Any TI graphing calculator can be programmed using a language called TI-Basic. For the TI-84 Plus family and TI-Nspire CX, TI provides free lessons that teach you how to code on your calculator.


1 Answers

Here's a simple and fast way to tell the difference between a TI-84 and TI-84 CE. The other answer seems to be focusing on distinguishing between SE and non-SE. Since you approved it (and asked this a year ago), I don't know if this is useful to you, but here you go.

: 0→Xmin
: 1→ΔX
: If Xmax=264
: Disp "TI-84 CE

Because the CE screens are wider, the auto-generated max is set to a higher value (264) than a normal TI-84 would be. You can also set the window vars used to something else and restore them afterwards to keep the graph screen unaffected.

like image 110
tryashtar Avatar answered Oct 24 '22 22:10

tryashtar