Raspberry Pi: Skillnad mellan sidversioner
Hoppa till navigering
Hoppa till sök
Hakan (diskussion | bidrag) |
Hakan (diskussion | bidrag) |
||
(2 mellanliggande sidversioner av samma användare visas inte) | |||
Rad 100: | Rad 100: | ||
: [https://www.adafruit.com/product/439 Adafruits produktbeskrivning] | : [https://www.adafruit.com/product/439 Adafruits produktbeskrivning] | ||
Bra guide | Bra guide | ||
: [https://learn.adafruit.com/tsl2561/python-circuitpython CircuitPython Installation of TSL2561 Library] | |||
# Installera Circuit Python, om du inte redan gjort det: [https://learn.adafruit.com/circuitpython-on-raspberrypi-linux/installing-circuitpython-on-raspberry-pi Installing CircuitPython Libraries on Raspberry Pi] | |||
# Installera biblioteket för TSL: [https://learn.adafruit.com/tsl2561/python-circuitpython CircuitPython Installation of TSL2561 Library] | |||
Det finns exempelkod du kan klistra in i nano, spara och köra. | |||
{{clear}} | {{clear}} | ||
Rad 127: | Rad 129: | ||
: [https://circuitpython.org/ circuitpython.org] | : [https://circuitpython.org/ circuitpython.org] | ||
: Adafruit: [https://learn.adafruit.com/welcome-to-circuitpython/what-is-circuitpython What is CircuitPython?] | : Adafruit: [https://learn.adafruit.com/welcome-to-circuitpython/what-is-circuitpython What is CircuitPython?] | ||
Installera Circuit Python, vilket kallas Blinka: | |||
: [https://learn.adafruit.com/circuitpython-on-raspberrypi-linux/installing-circuitpython-on-raspberry-pi Installing CircuitPython Libraries on Raspberry Pi] | |||
Sedan kan du gå vidare och installera och köra kod för en sensor, exempelvis: | |||
: [https://learn.adafruit.com/tsl2561/python-circuitpython Python Installation of TSL2561 Library] | |||
== AD-omvandlare - ADC == | == AD-omvandlare - ADC == |
Versionen från 14 februari 2020 kl. 14.22