---
jupytext:
  formats: md:myst
  text_representation:
    extension: .md
    format_name: myst
    format_version: 0.13
    jupytext_version: 1.11.5
kernelspec:
  display_name: Python 3
  language: python
  name: python3
---


# Knižnice

## Štandardné knižnice

    array – arrays of numeric data
    asyncio — asynchronous I/O scheduler
    binascii – binary/ASCII conversions
    builtins – builtin functions and exceptions
    cmath – mathematical functions for complex numbers
    collections – collection and container types
    errno – system error codes
    gc – control the garbage collector
    gzip – gzip compression & decompression
    hashlib – hashing algorithms
    heapq – heap queue algorithm
    io – input/output streams
    json – JSON encoding and decoding
    marshal – Python object serialization
    math – mathematical functions
    os – basic “operating system” services
    platform – access to underlying platform’s identifying data
    random – generate random numbers
    re – simple regular expressions
    select – wait for events on a set of streams
    socket – socket module
    ssl – SSL/TLS module
    string.templatelib – Template String Support
    struct – pack and unpack primitive data types
    sys – system specific functions
    time – time related functions
    zlib – zlib compression & decompression
    _thread – multithreading support

##  pyb  

    class Accel – accelerometer control
    class ADC – analog to digital conversion
    class CAN – controller area network communication bus
    class DAC – digital to analog conversion
    class ExtInt – configure I/O pins to interrupt on external events
    class Flash – access to built-in flash storage
    class I2C – a two-wire serial protocol
    class LCD – LCD control for the LCD touch-sensor pyskin
    class LED – LED object
    class Pin – control I/O pins
    class PinAF – Pin Alternate Functions
    class RTC – real time clock
    class Servo – 3-wire hobby servo driver
    class SPI – a controller-driven serial protocol
    class Switch – switch object
    class Timer – control internal timers
    class TimerChannel — setup a channel for a timer
    class UART – duplex serial communication bus
    class USB_HID – USB Human Interface Device (HID)
    class USB_VCP – USB virtual comm port


##  machine 

    class Pin – control I/O pins
    class Signal – control and sense external I/O devices
    class ADC – analog to digital conversion
    class ADCBlock – control ADC peripherals
    class DAC – digital to analog conversion
    class PWM – pulse width modulation
    class UART – duplex serial communication bus
    class SPI – a Serial Peripheral Interface bus protocol (controller side)
    class I2C – a two-wire serial protocol
    class I2CTarget – an I2C target device
    class I2S – Inter-IC Sound bus protocol
    class RTC – real time clock
    class Timer – control hardware timers
    class Counter – pulse counter
    class Encoder – quadrature decoding
    class WDT – watchdog timer
    class SD – secure digital memory card (cc3200 port only)
    class SDCard – secure digital memory card
    class USBDevice – USB Device driver
