Language Switcher

ボタンを押してWebページを開こう

Create an app that displays a new web page when you press the button!

Make things

Add a button to obniz so that when the button is pressed, the web page with the URL specified by the program will be displayed.

Materials

How to make

Hardware connection

Connect the obniz to the button as shown in the following table.

obniz Grove
1 SIG
GND GND
+ VCC

obnizとスイッチをつなげる図 [Reference] obniz parts library (Button)

Program

Execute

When the program is executed, the URL you set will be displayed on the execution screen.
Pressing the button (Grove blue LED button) may result in a pop-up block. 

ポップアップブロックを許可する図

If you give permission by referring to the image, a new tab will be added and the URL in the program will be displayed.