|
Forum Index : Microcontroller and PC projects : Porting Arduino Projects to Color Maximite2
| Author | Message | ||||
| renfrow Newbie Joined: 17/09/2020 Location: United StatesPosts: 2 |
I'm new to the Color Maximite2 and basic programing in general and I was wondering if anybody has any advice for porting arduino projects to basic. I found an arduino porject for cloning Ir remote signals and I was hoping to get something similar working on the CMM2. My youtube channel is https://www.youtube.com/channel/UCEG0xcuS0QHKJhNuFx-cBvQ I have a few cmm2 videos posted there. Shut up, Leonard! Those teenage girls you play ping pong with are doing it ironically. |
||||
| RetroJoe Senior Member Joined: 06/08/2020 Location: CanadaPosts: 290 |
Hey, renfrow - welcome! An Arduino to Maximite “transcoder” sounds like a great Computer Science project, and theoretically feasible (I.e. both platforms use a procedural language with a formal syntax to control I/O pins on a microcontroller). Nothing like that exists AFAIK, so you could “corner the market” :) The challenge is developing something like that would be a few orders of magnitude harder than just doing a “stare and compare” / “lift and shift” for a specific project. FYI, using the “link” button makes it much easier for people to follow URLs in your posts. Happy Maximiting! Enjoy Every Sandwich / Joe P. |
||||
| renfrow Newbie Joined: 17/09/2020 Location: United StatesPosts: 2 |
Thanks, it would be interesting to have something like that under my belt. At the very least maybe someone will see this post and make it themselfs. For now though I should probably finish reading the manuals but when I am proficient enough that is a project I will attempt. Youtube channel link using link button Shut up, Leonard! Those teenage girls you play ping pong with are doing it ironically. |
||||
| RetroJoe Senior Member Joined: 06/08/2020 Location: CanadaPosts: 290 |
I was going to say that anyone attempting to tackle such a thing would have to be intimately familiar with the idiosyncrasies of BOTH platforms, of both the hardware and the software. And, keep in mind that both Arduino and Maximite are available in a variety of form factors and microcontrollers, so the challenge is actually much bigger (e.g. if you look at the Arduino IDE, you can see the plethora of target devices it supports). That aside, the pseudocode you would write for either platform would by definition be very similar, so maybe that’s how you tackle it (i.e. reverse-engineer the Arduino project into flow diagrams and a “meta language” that you then forward-engineer using MMBasic). A mechanical transcoder would have to do something similar... but human brains are *much* better at this sort of thing :) In the 80’s, there was an attempt to create a market for so-called “CASE tools” (Computer Aided Software Engineering, a riff on CAD/CAM, which at the time was radically transforming a huge number of industries). The idea was not unlike the one we are describing e.g. mechanically converting COBOL code to a more modern language, provide a quantum leap in productivity, etc. Unlike CAD/CAM, which truly did permanently revolutionize mechanical design and manufacturing, CASE fizzled out when people realized that writing software was a lot more like art than engineering! It’s interesting that that lesson has to be relearned every generation. Edited 2020-09-19 03:56 by jpusztai Enjoy Every Sandwich / Joe P. |
||||
| zeitfest Guru Joined: 31/07/2019 Location: AustraliaPosts: 622 |
arduino -> mmbasic means a c-to-basic conversion. I think that is possible for some code but not realistic for many situations. eg c uses pointers a lot, could be clunky in mmbasic. Maybe if you define a subset of C constructs that can directly map to mmbasic, and then exercise that (?) |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |