Published Book on Amazon
|All of IOT Starting with the Latest Raspberry Pi from Beginner to Advanced – Volume 1|
|All of IOT Starting with the Latest Raspberry Pi from Beginner to Advanced – Volume 2|
출판된 한글판 도서
|최신 라즈베리파이(Raspberry Pi)로 시작하는 사물인터넷(IOT)의 모든 것 – 초보에서 고급까지 (상)|
|최신 라즈베리파이(Raspberry Pi)로 시작하는 사물인터넷(IOT)의 모든 것 – 초보에서 고급까지 (하)|
Original Book Contents
7.5.2 Programming Tool
Here, we will briefly discuss the basic programming tools provided by Raspberry Pi. For more details, Please refer to the description of [Chapter 23 Writing Program].
18.104.22.168 Mathematica & Wolfram Language
Mathematica is a professional numerical programming tool that makes it easy to perform necessary specialized mathematical calculations in science, mathematics, computer science, and engineering, and was developed in 1988 by Wolfram Research. Mathematica is a popular tool for complex and specialized mathematical calculations, such as differential and integral calculations, and it can do huge calculations quickly.
Mathematica and Wolfram are basically the same language, and there is only a difference that Mathematica works on a GUI basis, whereas Wolfram works on a Text basis.
When you run the [Mathematica] program, two window screens appear. The first is the Wolfram information dialogue screen, which shows the path to various informations related to Mathematica, and various help information can be available. The second is the Mathematica notebook screen, where you can do real work.
Figure 7‑25 Mathematica & Wolfram language
Running [Wolfram] gives you an environment where you can do the same thing on the Terminal screen.
22.214.171.124 Sonic Pi
Sonic Pi is a sound processing computing program. Originally developed to support computer and music lessons at school, it is a live coding synth that everyone can use for free. This allows you to create and play classic and contemporary music styles, from Canons to Dubstep, using code.
You can start Sonic Pi from the desktop or applications menu. When the program is executed, the Sonic Pi start screen appears as shown below.
Figure 7‑26 Sonic Pi
Scratch is a tool for creating programs in a drag-and-drop manner using visual tools without writing complicated program source code, and can develop animations, interactive stories, games and so on. Therefore it is the best tool for those who are new to programming to understand the concept of programming and to do various exercises.
You can start Scratch from the applications menu. When you run the programs, the following screen will start. On the screen, you can create a program using various drawing tools.
Figure 7‑27 Scratch
Python was developed for computer science and mathematics in the 1908s. It is a language that provides flexible and powerful function, and has a clear grammatical syntax framework. Currently, it is widely used worldwide such as C and Java. In Python you can use IDLE (Integrated Development and Learning Environment) as a professional IDE (Integrated Development Environment), where there are IDLE2 and IDLE3.
You can start Python as follows from the applications menu. Python 2 provides a development environment for IDLE 2, and Python 3 does for IDLE 3.
Figure 7‑28 Python
The first time you run IDLE, the Python Shell screen appears, and it is start screen for developing program.
However, it is inconvenient to develop a large scale of programs because the Shell is supposed to input commands one line at a time and it is executed immediately after input.
So, if you open a new screen using menu File → New Window, you can execute a large scale of programs in bulk or save the entire contents as a file and use it again later.