Comments (8)
Potential workaround:
from adafruit_blinka import agnostic agnostic.board_id = 'raspi_3'
from adafruit_blinka.
hiya we're doing a massive refactor like, this very hour :) check the PR's here and in platformdetect
adding odroid c1 detection to platformdetect is the best you can do now, while we rework this repo
https://github.com/adafruit/Adafruit_Python_PlatformDetect
from adafruit_blinka.
also, we dont recommend wiring pi - its ususally sysfs underneath, very very slow. we use libgpiod instead - its fast and supported in modern kernels :)
from adafruit_blinka.
Nice! btw, I got it to work on Odroid C1+ with the above hack. I am on an official Ubuntu image from Hardkernel. libgpiod
is indeed available on Odroids.
P.S. This is my robot(It used to run on a Pi3 but now I am migrating it to Odroid-C1+):
It has 2 DC motors and one Servo connected to the DC Motor HAT. The power comes from a Pololu 5V step down converter and 2x18650 cells.
from adafruit_blinka.
wow cool! yes it will work but its a bit of a hack if RPi.GPIO exists :) however there's some pinout differences and its best if we can properly detect it and make a correct 'map' of all the pins and functions - especially since htere's some cool stuff like ADC pins! and some pins have different names than RasPi
http://pi4j.com/pins/odroid-c1.html
could you start by adding detection to platform detect? we have one so we could help if you need assistance :)
https://github.com/adafruit/Adafruit_Python_PlatformDetect/
from adafruit_blinka.
I'll try to help. Yes, the pinout is slightly different and yes I use a RPi.GPIO port for odroid:
https://wiki.odroid.com/odroid-c1/application_note/gpio/rpi.gpio
So far it has worked for me.
from adafruit_blinka.
Made a PR to detect the Odroid C1/C2:
adafruit/Adafruit_Python_PlatformDetect#7
from adafruit_blinka.
Looks like this was merged! Thanks for contributing!
from adafruit_blinka.
Related Issues (20)
- Orange PI 5 Plus HOT 2
- Latest version doesn't work on rp2040 pico due to a pin/digitalio error. HOT 1
- Jetson Orin Nano no SCLK_1 HOT 3
- MCP2221A import board error issue HOT 2
- Mellow Fly Pi V2
- add support in Blinka for orange pi zero 3 HOT 1
- running the Windows platform. HOT 1
- ft232h output signal HOT 1
- ft232h with MLX90640 HOT 2
- Big Tree Tech BTT pi
- RPI 5 - python library piod: 'Chip' has no attribute 'OPEN_BY_NUMBER' HOT 24
- Breadboard HOT 2
- Arduino Uno HOT 5
- STM32F405 Feather Request
- rpi_ws281x not compatible with pi 5 HOT 4
- Exception thrown in Lockable.unlock() does not follow CircuitPython behavior
- Raspberry Pi5 RuntimeError: Timed out waiting for PulseIn message. Make sure libgpiod is installed. HOT 6
- Please add support for the OrangePiCM4 HOT 3
- board HOT 1
- Accessing digitalio CE0 results in a device busy error on Pi5 HOT 20
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adafruit_blinka.