Is it possible to IRZONE Left and IRZONE Right?
MovieMaker
Posts: 502
I intend to post my code as soon as I am through with it. but, I still have to work out a few bugs.
If anyone knows if there is a way to squeeze IRZONE in such a way to show the inputs of more than one pin, I would love to hear about it. The documentation doesn't say anything about this that I know of.
Thanks in Advance.
·
If anyone knows if there is a way to squeeze IRZONE in such a way to show the inputs of more than one pin, I would love to hear about it. The documentation doesn't say anything about this that I know of.
Thanks in Advance.
·
Comments
It's written to handle a single IR detector. You'd have to modify the existing routines in BoeBotBasic to get it to work with more than one IR detector. There's about 20 lines of code involved starting around line 500 in BoeBotBasic.spin.
The documentation doesn't say anything about it because the documentation is about using BoeBotBasic as it's written, not about how to make modifications to it. That would be a very large effort that I'm not willing to undertake. Several other people have created modified versions of FemtoBasic in addition to the ones I've done. It would take a familiarity and ease of use of Spin, some study of the existing code and a willingness to experiment for a while with the existing code before trying to add anything.