Ezblock
latest
  • Quick User Guide for Ezblock 3.0
  • Tutorials
  • References
    • language
      • Block
      • Python
        • ezblock
        • PiMobile
Ezblock
  • Docs »
  • References »
  • Python
  • Edit on GitHub

Python¶

ezblock¶

Under ezblock, the classes and methods used import everything from ezblock import 123*

Methods¶

  • delay - Delay for the given number of milliseconds.

delay(ms)

  • print - replace the original print function to print via bluetooth.

print(msg, end="/n", tag='[DEBUG]')

  • mapping - masp a value from a range to another

mapping(x, inmin, inmax, outmin, outmax)

Classes¶

  • class Pin - control I/O pins
  • class ADC - analog to digital converter
  • class PWM - pulse width modulation
  • class Servo - 3-wire pwm servo driver
  • class UART - serial communication bus
  • class I2C - IIC bus
  • class Remote - remote with ble
  • class IOT - internet of things
  • class Music - notes and beats
  • class Color - rgb color
  • class Camera - camera module
  • class TTS - text to speech
  • class IRQ - external interrupter
  • class WiFi - Wi-Fi set up
  • class Taskmgr - task manager
  • class SendMail - email library
  • class Ultrasonic - ultrasonic ranging sensor
  • class DS18X20 - ds18x20 series temperature sensor
  • class ADXL345 - accelemeter
  • class RGB_LED - rgb LED
  • class Buzzer - passive buzzer
  • class Sound - sound sensor
  • class Joystick - 3-axis joystick
  • class BLE - bluetooth driver

PiMobile¶

Methods¶

Classes¶

  • robothat Module - Robot Control Boards
Next Previous

© Copyright 2020, sunfounder Revision fa0c3a11.

Built with Sphinx using a theme provided by Read the Docs.