Concurrent Event-Driven Programming In Occam-Pi For The Arduino

COMMUNICATING PROCESS ARCHITECTURES 2011(2011)

引用 7|浏览12
暂无评分
摘要
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-pi 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-pi on it, and a case study of an environmental sensor used in an Environmental Science course.
更多
查看译文
关键词
Transterpreter, occam-pi, Arduino, embedded systems, interrupts, sensing
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要