🎨
MadMachine-Examples
  • Introduction
  • About our project
  • Getting Started
  • Tutorial
    • What is SwiftIO
    • How to use IDE
    • Libraries
    • MM SDK
  • Built-In Examples
    • GettingStarted
      • Blink
      • ReadDigitalInput
      • ReadAnalogInput
      • PWMBrightnessControl
    • SimpleIO
      • ButtoncontrolLED
      • BlinkAnalogIn
      • BlinkTimer
      • BrightnessAnalogIn
      • Debounce
      • LEDsBrightnessControl
      • PWMSoundOutput
      • PWMMelody
    • AdvancedIO
      • ILI9341
      • LCD1602
      • MidiPlayer
      • PCA9685
      • SHT3x
      • SSD1315
    • Challenge
      • LCDFamily
      • RobotArm
      • Tetris
    • MakerKit
      • Mission 01 Blink
      • Mission 02 RGB LED
      • Mission 03 Push Button
      • Mission 04 Potentiometer RGB
      • Mission 05 Buzzer
      • Mission 06 Seven Segment Display
      • Mission 07 DC Motor
      • Mission 08 Servo Motor
      • Mission 09 LCD
      • Mission 10 Humiture Sensor
  • Library Reference
  • FAQ
Powered by GitBook
On this page

Was this helpful?

  1. Built-In Examples

GettingStarted

PreviousBuilt-In ExamplesNextBlink

Last updated 4 years ago

Was this helpful?

👏 Well, this part is to get you know some basic knowledge and operations.

Four simple projects with just several lines of code will guide you into the SwiftIO world.

  • - output 3.3 volts and 0 volt on a digital pin alternatively to blink the onboard led.

  • - read and print the input value of digital pin D0, either true or false.

  • - read and print the input voltage of analog pin A0. The value is a float number between 0.0 and 3.3.

  • - brighten and dim the led continuously by increasing and decreasing the duty cycle of the PWM output.

Blink
ReadDigitalInput
ReadAnalogInput
PWMBrightnessControl