pine64 SDK/library
#5
Here is a quick example of GPIO LED Blinker :


Code:
import RPi.GPIO as GPIO
LED_PIN = 26
GPIO.setmode(GPIO.BCM)
GPIO.setup(LED_PIN, GPIO.OUT)
while 1:
  GPIO.output(LED_PIN, GPIO.HIGH)
  time.sleep(0.25)
  GPIO.output(LED_PIN, GPIO.LOW)
  time.sleep(0.25)
GPIO.cleanup()


Messages In This Thread
pine64 SDK/library - by capnOfdShip - 05-27-2016, 09:14 PM
RE: pine64 SDK/library - by martinayotte - 05-28-2016, 07:38 AM
RE: pine64 SDK/library - by Keex - 05-29-2016, 03:32 AM
RE: pine64 SDK/library - by Luke - 05-29-2016, 05:58 AM
RE: pine64 SDK/library - by martinayotte - 05-29-2016, 08:25 AM
RE: pine64 SDK/library - by adamw - 05-29-2016, 04:04 PM
RE: pine64 SDK/library - by martinayotte - 05-29-2016, 04:43 PM
RE: pine64 SDK/library - by martinayotte - 05-30-2016, 10:20 AM
RE: pine64 SDK/library - by adamw - 05-30-2016, 10:48 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Having trouble reading MPU6050 sensor via I²C on Pine64 Jaxon 1 7,110 09-05-2025, 08:49 PM
Last Post: Alex92
  Wi-Fi/Bluetooth for PINE64, Model: Sopine A64 lamson 0 2,842 08-24-2021, 08:17 AM
Last Post: lamson
  AC Adapter Which One? Pine64 A64 DB V1.1 2GB REV B (Year 2016) databaseprogrammer 2 5,269 06-17-2021, 05:35 AM
Last Post: kqlnut
  Just discovered Pine64 ! - first Q philip_rhoades 4 8,168 04-29-2020, 10:13 AM
Last Post: tophneal
  A newest user in Pine64 Aliko 1 5,390 04-19-2020, 10:33 PM
Last Post: tllim
  PINE64 Installer - Simple Way to Image Your MicroSD pineadmin 101 184,664 01-15-2020, 12:46 PM
Last Post: tophneal
  Emails from pine64 received as spam by gmail Matan 2 11,862 08-21-2019, 08:30 AM
Last Post: Leiaz
  How to handle a Pine64 correctly gbjensen 6 19,887 03-28-2019, 11:43 PM
Last Post: InsideJob
Information Creating a NAS server in Pine64 javi_cala 4 10,519 01-21-2019, 02:03 AM
Last Post: bartes
  The 6 most common reasons why Pine64 won't boot Andrew2 109 260,595 10-11-2018, 11:35 PM
Last Post: Technolab88

Forum Jump:


Users browsing this thread: 1 Guest(s)