Join us on Discord!
You can help CodeWalrus stay online by donating here.
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - p2

#1876
That woould be great :D
So I'm gonna buy an Arduino, put your software on it, somehow connect it to the keyboard and then send you the results back? :)
*btw... wich arduino would I have to buy? :) http://world.arduino.org/en/
#1877
so we need the following:
- Software on the TI: Axe driver for Arduino DONE
- Connection TI to Arduino DONE
- Software on the Arduino: Driver for the TI DONE
- Software on the Arduino: Driver to work with the keyboard NOPE
- Connection Arduino to Keyboard(s) NOPE
Allright. So we need samples of what signal is sent pressing each key on the Keyboard, right? :)

Littel strange idea: Would it be able to extend that "project" to create an Arduino (with USB, PS/2 and 2.5mm audio input) that would make almost every keyboard work on the TI (except thus with special drivers)? :)
#1878
how much work would it be, given I never worked with C/C++ before and never touched an arduino either...? >.<
#1879
I already expected it wouldnt be possible to distinguish the two keyboards, so I only thought about maybe using arrow keys on the first one and W,A,S,D on the second keyboard or something ^^
But Axe not supporting these IO drivers could really be a problem... :( :(
would I need to "fix" this using some fance software (that's most likely not written yet) or also some extra hardware...?
#1880
Gaming / Re: (split) CodeWalrus Minecraft Server
August 18, 2016, 08:16:19 AM
I start wondering how you even realized there are invisible blocks on top of your bulding... ^^
#1881
I once had one of these eyboard (but only one) but I cant find it anymore... >.< looking for it since days, hope I'm gonna find it again :/
The keyboard was connectd using the I/O port and I could use it to type on the calculator (worked without any further drivers)
But I'm not sure if it's gonna work with axe since I never tried it...

And about the audio split:
doesnt the audio splitt just split the signal in two, or (the other way around) combines two sources?
Where exactly is the problem about it?
Thx for your help :)
#1882
As some of you may know, TI produces external keyboards for their calculators:
https://www.amazon.com/Texas-Instruments-Keyboard-Graphing-Calculators/dp/B00007K7JE/s=electronics
They're pretty cool since they're connected using the simple 2.5mm audio plug.
My idea was using multiple of these keyboards at the same time for multiplayer purposes, using audio splitters
(Like using little adapter (2.5mm->3.5mm), a 3.5mm Audio Split and another adapter (3.5->2.5mm)

[KB]--[2.5->3.5]--.
                   >[Audiosplit]--[3.5->2.5]--[Calc]
[KB]--[2.5->3.5]--'

Has anyone of you ever tried this out and did it work? :) And could I (theoretically) use an unlimited number of keyboards? :D
Aaaand... Does Axe properly work with them...? >.<
#1883
Is there any function to give you the exact time an interrupt at current speed would be triggered per second...? would be interesting >.>


Edit: quote from omnimaga:
Quote from: Hayleia on October 03, 2012, 03:16:42 PM
The speeds for the interrupts are as follow (according to Hot Dog):

Speed // 83+ // 84+
0 // 560 Hz // 512 Hz
2 // 248 Hz // 228 Hz
4 // 170 Hz // 146 Hz
6 // 118 Hz // 108 Hz


And shouldn't there be a warning like "Dont use Output( command it will break your interrupts" or something...?
(As far as I understand it that has been the problem?)
#1884
When adding "Full" at the top of the code, I get 150 for X, too (with Y>999). But only the main loop speeds up, the interrupt remains the same speed it seems ^^
what calc are you using? :)
#1885
Just comparing the speed of the main loop to the interrupt (to see how fast the speed settings 0, 2, 4, 6 are ^^)

Edit:
Just tried jour code.
It works but the interrupt counter is like 10 times faster now O.o
Then the interrupt counter (Y) reaches 1000, the counter in the main loop (X) is only at 85... O.o
And was it the Output( causing the problem?
*Edit of Edit: Actually the interrupt counter is like 2-3x faster while the main loop is muuuuch slower >.<
#1886
I had the following code:

[spoiler].TRY03AXE
1->X
1->Y
fnInt(I,0)
Repeat getKey(15)
X+1->X
Output(1,1,X>Dec
Output(1,2,Y>Dec
End

Goto E

Lbl I
Y+1->Y
ReturnY

Lbl E
LnReg^r
[/spoiler]
It ended with B being set to 3 but X still counting... (Interrupt stopped working)
Then I modified it like this:
[spoiler].TRY03AXE
1->X
1->Y

Repeat getKey(15)
X+1->X
Output(1,1,X>Dec
Output(1,2,Y>Dec
fnInt(I,0)
End

Goto E

Lbl I
Y+1->Y
ReturnY

Lbl E
LnReg^r

I Put the call for teh Interrupt inside the main loop[/spoiler]
Like this it was working (both counting up)..

Then thanks to c4ooo I found another way it was working:
[spoiler].TRY03AXE
1->X
1->Y
fnInt(I,0)
Repeat getKey(15)
X+1->X
Output(1,1,X>Dec
Output(1,2,Y>Dec
fnOn
End

Goto E

Lbl I
Y+1->Y
ReturnY

Lbl E
LnReg^r

Now setting interrupts ACTIVATED every single time in the loop[/spoiler]
But why did the interrupt stop working in the first place? BEcause of the "Output" command or something?

Edit: Fixed massive use of wrong var names sorry >.<
#1887
That beginning looks really nice  :thumbsup:
But I guess you still got a lot of work to do, drawing all the graphics for the game ^^
Have you already decided how it should look like?
like realistic scenes, comic style, fancy pixelarts, super bright and colorfull, moody, ... ^^
#1888
Quote from: DJ Omnimaga on August 16, 2016, 12:14:26 AMI hope you have fun with your new calculator, both when using it for classes and as a hobby. :)
Makes a whole community spend more time with their calculators than sleeping - still calls it a "hobby"  :thumbsup:
#1889
The last time it was a newer version (I think it was 2.55) then it crashed....
and now I just sent 2.43 without using unsigned or anything.... something must've been really messed up xD
#1890
@E37 I love you! <3
I finally fixed my calc after all these years!! :D :D :D  :w00t:
Thank you so much!  :thumbsup:

just pressed MODE to get the flash cleared and then send 2.43 *-* <3
Powered by EzPortal