Abstract
The success of the Arduino platform has made embedded programming widely accessible. The Arduino has seen many uses, for example in rapid prototyping, hobby projects, and in art installations. Arduino users are often not experienced embedded programmers however, and writing correct software for embedded devices can be challenging. This is especially true if the software needs to use interrupts in order to interface with attached devices. Insight and careful discipline are required to avoid introducing race hazards when using interrupt routines. Instead of programming the Arduino in C or C++ as is the custom, we propose using occam-π as a language as that can help the user manage the concurrency introduced when using interrupts and help in the creation of modular, well-designed programs. This paper will introduce the Arduino, the software that enables us to run occam-π on it, and a case study of an environmental sensor used in an Environmental Science course.
Originalsprog | Engelsk |
---|---|
Titel | Communicating Process Architectures 2011 : Proceedings of the 33rd WoTUG Technical Meeting, 19–22 June 2011, University of Limerick, Ireland |
Redaktører | Peter H. Welch, Adam T. Sampson, Jan B. Pedersen, Jon Kerridge, Jan F. Broenink, Frederick R. M. Barnes |
Antal sider | 17 |
Forlag | IOS Press |
Publikationsdato | 2011 |
Sider | 177-193 |
ISBN (Trykt) | 978-1-60750-773-4 |
ISBN (Elektronisk) | 978-1-60750-774-1 |
Status | Udgivet - 2011 |
Begivenhed | 33rd WoTUG Conference on Concurrent and Parallel Programming: communicating process architectures 2011 - University of Limerick, Limerick, Irland Varighed: 19 jun. 2011 → 22 jun. 2011 Konferencens nummer: 33 |
Konference
Konference | 33rd WoTUG Conference on Concurrent and Parallel Programming |
---|---|
Nummer | 33 |
Lokation | University of Limerick |
Land/Område | Irland |
By | Limerick |
Periode | 19/06/2011 → 22/06/2011 |
Navn | Concurrent Systems Engineering Series |
---|---|
Vol/bind | 68 |
ISSN | 1383-7575 |