Code Not Displayed

Locked
nisha01
Member
Member
Posts: 11
Joined: March 3rd, 2020, 8:36 am
Division: C
State: CA
Has thanked: 2 times
Been thanked: 0

Code Not Displayed

Post by nisha01 »

Hello! I am using the TI calculator and hub for my event. When I tried to run my program in order to get the voltage, I was constantly told that my variable was not displayed correctly. I used the exact code that the website provided, and the mistake always pointed at the "disp" part. It is my first time using a TI calculator for programming, so sorry for any confusion.

Here is an example of the code:
Define pj5a()=
Prgm
Send "CONNECT ANALOG.IN 1 TO BB 5"
For n,1,50
Send "READ ANALOG.IN 1"
Get x
Disp "ANALOG IN = ",x
Wait 1
EndFor
EndPrgm

Please let me know if there is something that needs to be changed for the code to run. Thank you in advance!
Locked

Return to “Detector Building C”

Who is online

Users browsing this forum: No registered users and 5 guests