Hello,
I would like to make a simple program connecting the ti 84 plus (calculator) to a 7 segment display powered by the Arduino.
The program wrote on the calculator (ti basic)
Prompt X
Send(X)
The program for the arduino is currently only displays numbers on the display
byte seven_seg_digits[10][7] = { { 0,0,0,0,0,1,0 }, // = 0
{ 1,0,0,1,1,1,1 }, // = 1
{ 0,0,1,0,0,0,1 }, // = 2
{ 0,0,0,0,1,0,1 }, // = 3
{ 1,0,0,1,1,0,0 }, // = 4
{ 0,1,0,0,1,0,0 }, // = 5
{ 0,1,0,0,0,0,0 }, // = 6
{ 0,0,0,1,1,1,1 }, // = 7
{ 0,0,0,0,0,0,0 }, // = 8
{ 0,0,0,1,1,0,0 } // = 9
};
void setup() {
pinMode(2, OUTPUT);
pinMode(3, OUTPUT);
pinMode(4, OUTPUT);
pinMode(5, OUTPUT);
pinMode(6, OUTPUT);
pinMode(7, OUTPUT);
pinMode(8, OUTPUT);
pinMode(9, OUTPUT);
writeDot(0); // start with the "dot" off
}
How can I send something from the calculator to the arduino? the calculator has a mini usb port, so I was thinking that i should cut the cable open and use it as an input, but I would like to as first.
Thanks
Michael