/dev/spidev0,0 on the Rock64 - Does anyone know how to enable it?
#10
(Sorry for the wait, took a break from computing and else)

So now everything is smooth until I start the modified script then ... nothing. 

Here is the "proof of wireing" - this time with a 4.2'' display, but others didn't work as well. 

Huh When I force-quit with ctrl-c, this is the output:

^C You must setup() the GPIO channel (BOARD 26) as an output first
^C You must setup() the GPIO channel (BOARD 15) as an output first
 ^C Traceback (most recent call last):
  File "main.py", line 84, in <module>
    main()
  File "main.py", line 80, in main
    epd.set_frame_memory(time_image.rotate(90), 80, 80)
  File "/home/rock64/spidev/epd1in54.py", line 205, in set_frame_memory
    self.send_data(byte_to_send)
  File "/home/rock64/spidev/epd1in54.py", line 97, in send_data
    self.digital_write(self.dc_pin, GPIO.HIGH)
  File "/home/rock64/spidev/epd1in54.py", line 82, in digital_write
    epdif.epd_digital_write(pin, value)
  File "/home/rock64/spidev/epdif.py", line 41, in epd_digital_write
    GPIO.output(pin, value)
  File "/home/rock64/spidev/R64/_GPIO.py", line 184, in output
    for index in range(len(channel)):
KeyboardInterrupt

So ... I will write down line by line what I did, again (see that on github today) but no dice so far.

[Image: preview]
  Reply


Messages In This Thread
RE: /dev/spidev0,0 on the Rock64 - Does anyone know how to enable it? - by Kappuchino - 09-08-2018, 07:24 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  irradium (based on crux linux) Rock64 riscv64, aarch64 mara 7 1,007 11-19-2024, 02:54 PM
Last Post: mara
  Upgrading ancient Rock64 timxjr1300 0 56 11-15-2024, 09:50 AM
Last Post: timxjr1300
  arch rock64 does not boot nemnob 1 959 09-20-2024, 11:18 AM
Last Post: AwU2HBg
  DietPi OS for ROCK64 MichaIng 42 43,602 09-01-2024, 06:43 AM
Last Post: RaymondDay
Smile First Lakka image for Rock64! Luke 47 81,033 09-01-2024, 06:05 AM
Last Post: RaymondDay
  Rock64 v2 - did not work song / audio sqw200zu 2 1,864 03-14-2024, 03:09 AM
Last Post: dmitrymyadzelets
  Rock64 won't boot dstallmo 0 636 12-27-2023, 10:34 AM
Last Post: dstallmo
  HDMI doesn't work on rock64 Noung1991 1 1,077 11-21-2023, 08:33 AM
Last Post: as365n4
  Rock64 + Klipper + KlipperScreen Instructions godzilla62 0 1,083 10-22-2023, 01:52 AM
Last Post: godzilla62
  Rock64 Debian 11 (Bullseye) install problem jbize 15 11,233 10-12-2023, 05:14 PM
Last Post: tpaul

Forum Jump:


Users browsing this thread: 1 Guest(s)