Important Announcement
PubHTML5 Scheduled Server Maintenance on (GMT) Sunday, June 26th, 2:00 am - 8:00 am.
PubHTML5 site will be inoperative during the times indicated!

Home Explore การเขียนโปรแกรมต่างๆ

การเขียนโปรแกรมต่างๆ

Published by Guset User, 2022-01-12 06:57:47

Description: รวบรวมไฟล์งาน (2)

Search

Read the Text Version

การเขียนโปรแกรม Make Code Programming เป้ าหมาย : เพื่อใหเ้ รียนรู้พ้ืนฐานการควบคุม Array and Pointer ผลโปรแกรม : Arryy เป็นฐานขอ้ มลู และarrys 1 ตวั รับค่าคล้งั ละมากกวา่ 1 เรียกใชข้ อ้ มลู เม่ือ กดป่ ุม A,B,A+B ข้นั ตอนการเขียนโปรแกรม 1.เขา้ ไปท่ี Link : https://makecode.microbit.org เพ่ือเขา้ หนา้ โปรแกรม make code คลิกเลือก New Project จะไดห้ นา้ ต่างดงั รูป

2. ใหค้ ลิกที่ Advanced จะมี Tab Arrays ข้ึนมา การทำArary ตอ้ งแอดไซนต์ วั แปร1 ตวั เช่น List หรือ ararywords เป็นตน้ มาท่ี Arrays เอา create array with มา

3. โคด้ ควบคุม Motor

Link : https://makecode.microbit.org /_f4kb6v5wWFdh

การเขียนโปรแกรม Make Code Programming เป้ าหมาย : เพื่อใหเ้ รียนรู้พ้ืนฐานการควบคุม การใชค้ ำสงั่ จดั การขอ้ มูลชนิดโครงสร้าง ผลโปรแกรม : a show number 101 b show number 110 ข้นั ตอนการเขียนโปรแกรม 1.เขา้ ไปที่ Link : https://makecode.microbit.org เพ่ือเขา้ หนา้ โปรแกรม make code คลิกเลือก New Project จะไดห้ นา้ ต่างดงั รูป

2. เลือก Variables แอดไซน์ decimal และ binary

3. โคด้ ควบคุม Motor Link : https://makecode.microbit.org/_3t3KuRXcFbRp \\


Like this book? You can publish your book online for free in a few minutes!
Create your own flipbook