After reading these posts I looked at the Arduino IDE briefly (never done that before) and it looks kind of cute to me. It does create a layer of hardware abstraction. It is really easy to start blinking LEDs or outputting "Hello World" on LCDs (don't have Arduino to actualy try, but easy to do the software). However, when you're programming multitasking controller it may not be the best thing.
It reminds me of Visual Basic, which lets you create some simple programs really quick, but won't let you do anything complex. But hey, people wrote commercial programs on VB.
I would agree that software development for MCUs will undergo certain Arduinization in the near future and we may even see "managed" solutions alike C#. As it will allow hundreds of people to start doing MCUs, the needs of sparse programmers doing it the "old" way will get depressed. To cover all the inefficiencies, the more and more complex and powerful MCUs will be developed and become standard. Software will get buggier and buggier. At the end, MCUs will get extinct because new devices will be capable of running Linux, which will be a real break-through on the programming simplification route.
The "advanced instructions" in PICs don't add much and don't really improve anything (I may be sllightly wrong here, I judge by PIC24E comapred yo PIC24F). I think it's more of a marketing stuff - new PICs designed for C - why would anyone buy other processors which are not designed for C?
You are dissecting the latter, without addressing the former, with regard to the whole paragraph.Oh and read the passage again, it clearly states.
The flexibility gained from using the PIC microcontroller played a pivotal role in enabling the successful manufacture of over 40 million systems that have been delivered to provide optimal protection for vehicle occupants.
played a pivotal role.
To me that says pics arnt actualy in the system they just played a part in getting it together, and yes the keyloq thing is in keyfob's and radio's. A nice little earner for them.
That opens the chip up to you. I like the one I have cause it made a cheap USB programmer for Atmaga chipsArduino language is based on C/C++. It links against AVR Libc and allows the use of any of its functions; see its user manual for details.
About the only new thing here is the notion of sketches, or are they.
No, it is just a library written with standard C++.. with some coding trickery to make the main program look simpler to the user. All sketches are compiled with a free 3rd party compiler (AVR-GCC).
You statement "look simpler to use" is a good one. The tools that do this can get people going a bit faster but to get up to speed is still the same amount of work. IMHO
Writing extra library,does it effect to the memory consumption of target device- They write extensive library to hide most of the hardware dependent code
Writing extra library,does it effect to the memory consumption of target device
Many PICs have modules which do things in the hardware without using any processor time. UART modules are good. CAN module in PIC24H is very good. Cannot tell about USB, but USB is very high speed so if you bit-bang it you may not have time to do anything else. A USB to Serial chip can do all the work for you.
Interrupt on Transmission:
* USART_TX_INT_ON
* USART_TX_INT_OFF
* USART_TX_INT_MASK
Interrupt on Receipt:
* USART_RX_INT_ON
* USART_RX_INT_OFF
* USART_RX_INT_MASK
Not using libs especially ones without source code can be a good thing. But you don't have to shun everything provided.
For example reading code with USART_TX_INT_ON is more informative than the same code written with a binary literal.
And by the same token libs with source code should be considered unless one is the learning mode.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?