adafruit / Adafruit_Python_PlatformDetect

MIT License
58 stars 233 forks source link

added Luckfox Mini #354

Closed nopnop2002 closed 3 months ago

nopnop2002 commented 3 months ago
$ cat detect.py
from adafruit_platformdetect import Detector
detector = Detector()
print("Chip id: ", detector.chip.id)
print("Board id: ", detector.board.id)

$ python3 ./detect.py
Chip id:  RV1103
Board id:  LUCKFOX_PICO_MINI
makermelissa commented 3 months ago

It looks like it's not passing because of a formatting issue. Running pre-commit and pushing the changes should fix it.

nopnop2002 commented 3 months ago

@makermelissa Thanks for your support.

It was my first time doing PR. What is pre-commit? Please tell me how to resolve.

makermelissa commented 3 months ago

You can find more info here: https://learn.adafruit.com/creating-and-sharing-a-circuitpython-library/check-your-code

nopnop2002 commented 3 months ago

@makermelissa

It was helpful. thank you.