I don't know. It kind of sounds like doing the same work twice. I suppose it would depend on the debugging tools that you have available with the other processor.It is a good idea to make a code in an Arduino first before to implement in another microcontoller?
I think that it's a very bad idea.It is a good idea to make a code in an Arduino first before to implement in another microcontoller?
IMO, only if working within the same architectural uC family. But if you are going to implement on another "Arduino" fully supported board, I think it is OK to start prototyping ideas until you procure the needed Arduino board.It is a good idea to make a code in an Arduino first before to implement in another microcontoller?
Yes, but if he uses libraries he will be in for a huge mess in porting. I am not sure why he needs to move to a different MCU and development platform. If he can write what he wants in the Arduino IDE then he can use the code directly by using the same MCU, be can much more easily clear away the board definition than port the libraries.It depends. Forth has been used to quickly mock up models of software systems, sometimes to be re-written in a more widely recognized language. Forth has the advantage of easy to use to express ideas and actions. If Arduino is a very easy platform for you to use, go ahead and use it to mock up and experiment with your ideas. After that you can move it, for example, to a $2 microcontroller if you were careful to keep resource limitations in mind.
It is much like I rough out magazine articles in html then transfer to word for submission.
Sounds... tedious.Changing microcontrollers is hugely time consuming. I have just moved software from a 64-pin NXP LPC1517 to a Renesas RA4M1, both of which are 32-bit ARMs with the same instruction set, and both have the same set of peripherals but the peripheral control registers all are different.
It has taken months.
Actually, it's a good idea to flow-chart your code before implementing it in any MCU or PCU.It is a good idea to make a code in an Arduino first before to implement in another microcontoller?
That sounds like unnecessary extra work to me. The only time it would make sense is if you're migrating an existing application to a different microcontroller.It is a good idea to make a code in an Arduino first before to implement in another microcontoller?
I very rarely make flow charts, except when I work with others as a team. What I always do though, is write in plain and simple language every step (and why) of what the code is supposed to do.Actually, it's a good idea to flow-chart your code before implementing it in any MCU or PCU.
The first time I did NOT in more than 15 years, it was in my (almost finished) current project. Thanks to that I made the stupid mistake of calling an obstructive online delay in the middle of the main loop. Had to debug to know why.Actually, it's a good idea to flow-chart your code before implementing it in any MCU or PCU.
That is, in and of itself a form of a 'flow-chart'. It is a logic methodology that works for you. Flow-charts should be done by newer coders- it gives them a road-map that they can 'run' on paper and test scenarios and check their logic. More seasoned/veteran coders use flow-charting less because they have usually learned 'tried and true' methods to code defensively- like always niling pointers after use, and so forth.I very rarely make flow charts, except when I work with others as a team. What I always do though, is write in plain and simple language every step (and why) of what the code is supposed to do.
by Jake Hertz
by Aaron Carman
by Jake Hertz