A module to control SBC GPIO
Project description
python3-lot
Installation
sudo add-apt-repository -y ppa:loliot/ppa &&\
sudo apt install lot
sudo lot install
sudo apt update &&\
sudo apt install -y python3 python3-dev python3-pip &&\
python3 -m pip install -U --user pip setuptools
python3 -m pip install -U --user lot
Blink example
import lot
import sys
LED_PIN = 13
if len(sys.argv) > 1:
LED_PIN = int(sys.argv[1])
lot.init_time()
led = lot.Gpio(LED_PIN)
led.mode(lot.DOUT)
while True:
led.toggle()
lot.delay_ms(200)
Changelog
Ref: debian/changelog
python3-lot (0.5.1) unstable; urgency=medium
- Add const variables
-- Hyeonki Hong hhk7734@gmail.com Wed, 08 Jan 2020 17:49:10 +0900
python3-lot (0.5.0) unstable; urgency=medium
- Rename gpio.cpp to lot.cpp
- Add type_casters
- Implement Uart class
-- Hyeonki Hong hhk7734@gmail.com Wed, 08 Jan 2020 13:49:14 +0900
python3-lot (0.4.1) unstable; urgency=medium
- Fix crash that occurs when running 'pip install'
-- Hyeonki Hong hhk7734@gmail.com Mon, 06 Jan 2020 19:48:55 +0900
python3-lot (0.4.0) unstable; urgency=medium
- Use Pybind11 instead of Swig
- Implement Gpio class
-- Hyeonki Hong hhk7734@gmail.com Mon, 06 Jan 2020 18:15:49 +0900
python3-lot (0.3.0) unstable; urgency=medium
- Implement communication wrapper class
-- Hyeonki Hong hhk7734@gmail.com Mon, 23 Dec 2019 14:05:06 +0900
python3-lot (0.2.2) unstable; urgency=medium
- Fix file path error
-- Hyeonki Hong hhk7734@gmail.com Sun, 17 Nov 2019 13:47:35 +0000
python3-lot (0.2.1) unstable; urgency=medium
- Fix python package error
-- Hyeonki Hong hhk7734@gmail.com Sun, 17 Nov 2019 22:21:01 +0900
python3-lot (0.2.0) unstable; urgency=medium
- Add typemap to convert c++ typedef
- Add lot_time.h
-- Hyeonki Hong hhk7734@gmail.com Sun, 17 Nov 2019 19:12:19 +0900
python3-lot (0.1.3) unstable; urgency=medium
- Fix TypeError.
- Move version check from setup.cfg to setup.py.
-- Hyeonki Hong hhk7734@gmail.com Sun, 06 Oct 2019 16:56:29 +0900
python3-lot (0.1.2) unstable; urgency=medium
- Fix include path error.
-- Hyeonki Hong hhk7734@gmail.com Sun, 06 Oct 2019 10:27:52 +0900
python3-lot (0.1.1) unstable; urgency=medium
- Test basic function
- Move setup description from setup.py to setup.cfg
-- Hyeonki Hong hhk7734@gmail.com Thu, 03 Oct 2019 17:36:28 +0900
python3-lot (0.1.0) unstable; urgency=medium
- Initial release.
-- Hyeonki Hong hhk7734@gmail.com Thu, 22 Aug 2019 22:03:00 +0900
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.