Pinguino Board Framework
Project description
⚠️ Deprecated. This project's successor is liveduino — use that for new projects.
## FrameDuino ##
FrameDuino is a Python 2 framework that talks to a [Pinguino](https://github.com/PinguinoIDE/pinguino) board using the Arduino-style API you already know: `pinMode`, `digitalWrite`, `digitalRead`, `analogRead`, `analogWrite`, `eepromRead`/`eepromWrite`. The `usb_interpreter.pde` firmware runs on the board and listens for these commands over USB, Bluetooth, or serial, so your Python script drives the hardware directly, without compiling and flashing a sketch for every change.
This project is no longer under active development; see [Status](#status) below.
## Status ##
**FrameDuino is legacy.** It was an alpha, Python 2 only, and Pinguino only.
Its spiritual successor is **[liveduino](https://github.com/adanmauri/liveduino)**: the same idea, rebuilt from scratch for Python 3.13+, targeting Arduino boards (UNO, Nano, Mini, Pro Mini, Fio, and more) over the standard Firmata protocol, with USB, Wi-Fi/Ethernet, and Bluetooth drivers, servo and I2C support, a CLI that flashes firmware for you, and 100% test coverage.
If you're starting a new project, use [liveduino](https://github.com/adanmauri/liveduino) instead. FrameDuino stays here for historical reference and for anyone still working with a Pinguino board.
## Examples ##
Examples using raw code and manual configuration.
```python
from pinguino import *
from drivers.usb_driver import *
pinguino = Pinguino(USBDriver())
pinguino.pinMode(0,OUTPUT)
pinguino.pinMode(7,INPUT)
pinguino.digitalWrite(0, HIGH)
print pinguino.digitalRead(7)
pinguino.disconnect()
```
## Drivers ##
FrameDuino ships drivers for connecting to a Pinguino board over:
- USB (`usb_driver.py`)
- Serial (`serial_driver.py`)
- Bluetooth (`bt_driver.py`)
- CDC (`cdc_driver.py`)
## Firmware ##
`pinguino/usb_interpreter.pde` is the Pinguino sketch that must be flashed to the board; it parses the incoming commands and calls the matching Arduino/Wiring function.
## License ##
Distributed under the GPLv2 (or later) license. See [LICENSE](LICENSE) and [NOTICE](NOTICE) for details.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
frameduino-0.2.2.tar.gz
(6.4 kB
view details)
File details
Details for the file frameduino-0.2.2.tar.gz.
File metadata
- Download URL: frameduino-0.2.2.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
248e13a46644fa5a93dd6846a3fdfc02cf27ca383a668cf9686049bf71835f61
|
|
| MD5 |
3b4499e8a15fbf7aa71e5d11e1d6df7f
|
|
| BLAKE2b-256 |
8a094d23f2cc0480b221b494a9b0c01fcde6ec5509aba2204ad6ed8d2f3805af
|
Provenance
The following attestation bundles were made for frameduino-0.2.2.tar.gz:
Publisher:
publish.yaml on adanmauri/frameduino
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
frameduino-0.2.2.tar.gz -
Subject digest:
248e13a46644fa5a93dd6846a3fdfc02cf27ca383a668cf9686049bf71835f61 - Sigstore transparency entry: 2191284766
- Sigstore integration time:
-
Permalink:
adanmauri/frameduino@e834ec98f0a0828476b2fa65c6e23b808202cb54 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/adanmauri
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@e834ec98f0a0828476b2fa65c6e23b808202cb54 -
Trigger Event:
workflow_dispatch
-
Statement type: