Updating variables from another object running assembly
parsko
Posts: 501
Hey guys,
I have asked this before, but thought it better to create a new post.
I have a Top Object. I want this to update a TV display with a variable (DDD for example).
DDD is passed to the separate object, from the Top Object, and updated by the assy program.
One great example which was for a Spin program, can be found at:
http://forums.parallax.com/showthread.php?p=596723
I want to do EXACTLY was dan (sawmiller) is doing in his ADC program, except my final number is created via Assembly code. Actually, my example is also an ADC value (that I have been working on for years, it seems). Dan calls his ADC object from a main program to display the value.
I feel one problem I am having is the ADC object is ending, and my variable is disappearing. I can't figure out a way to keep the updated variable active.
Any thoughts?
-Luke
I have asked this before, but thought it better to create a new post.
I have a Top Object. I want this to update a TV display with a variable (DDD for example).
DDD is passed to the separate object, from the Top Object, and updated by the assy program.
One great example which was for a Spin program, can be found at:
http://forums.parallax.com/showthread.php?p=596723
I want to do EXACTLY was dan (sawmiller) is doing in his ADC program, except my final number is created via Assembly code. Actually, my example is also an ADC value (that I have been working on for years, it seems). Dan calls his ADC object from a main program to display the value.
I feel one problem I am having is the ADC object is ending, and my variable is disappearing. I can't figure out a way to keep the updated variable active.
Any thoughts?
-Luke
Comments
I don't have the hardware to test it out, so I hope it is good to go
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Who says you have to have knowledge to use it?
I've killed a fly with my bare mind.
Wow, that's it. Man, when you thought you've tried every combination, you realize you haven't. That's pretty easy. The "@" killed me over and over again. It really is easy (I shouldn't jinx myself).
Attached is the final code...
-Parsko
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Who says you have to have knowledge to use it?
I've killed a fly with my bare mind.