Category Archives: programming
Syntax highlighting for the Web – highlight.js
Syntax highlighting for the Web
Source: highlight.js
Git for Windows
Source: Git for Windows
PowerShell Gallery | Home
Source: PowerShell Gallery | Home
Batch files – FOR loops
Source: Batch files – FOR loops
sorttable: Make all your tables sortable
How to Run Arduino Code & Programs on Raspberry Pi
Raspberry Pi is an amazing minicomputer, and I would love to use it in some projects. There is just one tiny problem. I have little to no experience with Python. I used to do some Python coding a few years ago but only the basics. I’m more experienced in C++, specifically writing programs for Arduino. Wouldn’t it be nice if there was some way for those of us to utilize our Arduino programming skills on Raspberry Pi? Luckily, there is!
In this article, you will learn how to run sketches written for Arduino on Raspberry Pi! To achieve this, we will use RasPiArduino framework. That will allow us to compile the Arduino code into binaries which can run on Raspberry Pi. But before we can do that, we have to prepare a few things, both in the Arduino IDE and on Raspberry Pi.
Hardware
- Raspberry Pi 3 Model B
Software
- Arduino IDE
- RasPiArduino framework – https://github.com/me-no-dev/RasPiArduino
- MobaXterm – https://mobaxterm.mobatek.net/
