SunFounder Kepler Kit for Raspberry Pi Pico W
latest
  • Introduction to Raspberry Pi Pico W
  • What is Included in This Kit
  • Electronic Circuit
  • For MicroPython User
    • 1.1 Introduction of MicroPython
    • 1.2 Install Thonny IDE
    • 1.3 Install MicroPython on Your Pico
    • 1.4 Upload the Libraries to Pico
    • 1.5 Quick Guide on Thonny
    • 1.6 (Optional) MicroPython Basic Syntax
      • Indentation
      • Comments
      • Print()
      • Variables
      • If Else
      • While Loops
      • For Loops
      • Functions
      • Data Types
      • Operators
      • Lists
    • 2.1 Hello, LED!
    • 2.2 Display the Level
    • 2.3 Fading LED
    • 2.4 Colorful Light
    • 2.5 Reading Button Value
    • 2.6 Tilt It!
    • 2.7 Toggle Left and Right
    • 2.8 Press Gently
    • 2.9 Feel the Magnetism
    • 2.10 Detect Human Movement
    • 2.11 Turn the Knob
    • 2.12 Feel the Light
    • 2.13 Thermometer
    • 2.14 Feel the Water Level
    • 2.15 Two Kinds of Transistors
    • 2.16 Control Another Circuit
    • 3.1 Beep
    • 3.2 Custom Tone
    • 3.3 RGB LED Strip
    • 3.4 Liquid Crystal Display
    • 3.5 Small Fan
    • 3.6 Pumping
    • 3.7 Swinging Servo
    • 4.1 Toggle the Joystick
    • 4.2 4x4 Keypad
    • 4.3 Electrode Keyboard
    • 5.1 Microchip - 74HC595
    • 5.2 Number Display
    • 5.3 Time Counter
    • 5.4 8x8 Pixel Graphics
    • 6.1 Measuring Distance
    • 6.2 Temperature - Humidity
    • 6.3 6-axis Motion Tracking
    • 6.4 IR Remote Control
    • 6.5 Radio Frequency Identification
    • 7.1 Light Theremin
    • 7.2 Room Temperature Meter
    • 7.3 Alarm Siren Lamp
    • 7.4 Passager Counter
    • 7.5 GAME - 10 Second
    • 7.6 Traffic Light
    • 7.7 Guess Number
    • 7.8 RFID Music Player
    • 7.9 Fruit Piano
    • 7.10 Reversing Aid
    • 7.11 Somatosensory Controller
    • 7.12 Digital Bubble Level
  • IoT Projects
  • For Arduino User
  • For Piper Make
  • FAQ
SunFounder Kepler Kit for Raspberry Pi Pico W
  • Docs »
  • For MicroPython User »
  • 1.6 (Optional) MicroPython Basic Syntax
  • Edit on GitHub

1.6 (Optional) MicroPython Basic Syntax¶

  • Indentation
  • Comments
  • Print()
  • Variables
  • If Else
  • While Loops
  • For Loops
  • Functions
  • Data Types
  • Operators
  • Lists
Next Previous

© Copyright 2023, SunFounder Revision 4fb26b12.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: latest
Versions
latest
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.