Difference between revisions of "3 WiFI wireless programming"

From Banana Pi Wiki
Jump to: navigation, search
(remote to connect BPI:bit)
(remote to connect BPI:bit)
Line 13: Line 13:
  
 
[[File:Webrepl_(1).png]]
 
[[File:Webrepl_(1).png]]
 +
 +
You can see that it can directly operate the board, like the past wired connection, response speed is very fast, and wired feeling is not much different.

Revision as of 02:06, 21 February 2019

Understanding wireless programming

The way using wired connection board is the characteristic of last century, so we in the later development process, is to support, and as far as possible to the wireless control the direction of, for all kinds of simple things networking equipment is not a cable interface specially reserved for you connected to the computer control, for example, a intelligent control of light.

So at this time the wireless is put to use, you can see, in the board connected to the Internet, we can need not be inserted into the computer to help the board directly online (mobile phone distribution network model in the previous section), so this is the wireless programming basis, through a simple way to make the board into your network, you can control it.

remote to connect BPI:bit

The MicroPython interface USES the Python REPL, which means that it is itself an operating system environment that can be re-used. Unlike previous Linux systems, it is characterized by its simplicity and ease of use

REPL is a commonly used interactive interface when wired, while on wireless, WebREPL is introduced, which, as the name implies, is a cloud REPL, as shown in the figure below:

Webrepl (1).png

You can see that it can directly operate the board, like the past wired connection, response speed is very fast, and wired feeling is not much different.