A module to control SBC GPIO
Project description
python3-lot
Installation
Ref: https://github.com/loliot/lot
sudo add-apt-repository -y ppa:loliot/ppa \
&& sudo apt install lot
sudo lot install cpp
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.8.1) unstable; urgency=medium
- Reflect lot-SBC v0.12.3
-- Hyeonki Hong hhk7734@gmail.com Thu, 30 Jan 2020 20:53:32 +0900
python3-lot (0.8.0) unstable; urgency=medium
- Reflect lot-SBC v0.12.0
-- Hyeonki Hong hhk7734@gmail.com Sat, 18 Jan 2020 03:08:52 +0900
python3-lot (0.7.1) unstable; urgency=medium
- Update time/Gpio docs
-- Hyeonki Hong hhk7734@gmail.com Fri, 17 Jan 2020 18:27:02 +0900
python3-lot (0.7.0) unstable; urgency=medium
- Implement Spi class
-- Hyeonki Hong hhk7734@gmail.com Tue, 14 Jan 2020 23:13:00 +0900
python3-lot (0.6.0) unstable; urgency=medium
- Implement I2c class
-- Hyeonki Hong hhk7734@gmail.com Tue, 14 Jan 2020 13:30:20 +0900
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.
Source Distribution
File details
Details for the file lot-0.8.1.tar.gz.
File metadata
- Download URL: lot-0.8.1.tar.gz
- Upload date:
- Size: 11.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3773d0382f70d40a36bad76bd9b2604484775e7326ad4aa38060c8a13470f1d
|
|
| MD5 |
d4e2a2e8aecef5424c38f4c49f2d86bd
|
|
| BLAKE2b-256 |
c4c13ffbec574ac983eb00bdbcfbb965a2b95f6ac068194cfae7b71703691847
|