-
Posts
49 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Posts posted by djmcg
-
-
Yes I try to log on as a normal user and root the same problem.
-
-
Hello
I`m download newest version Armbian desktop for my Orange Pi.
Install the following packages
sudo apt-get install tightvncserver sudo apt-get install xrdp
But I have error when I want connect to desktop from my Windows 7
Additional I try to connect use VNC Viewer but resulution is small and visual desktop is other the wwhen I`m normally attach HDMI monitor to OPI.
-
20 hours ago, martinayotte said:
If you only send [0,0,0] frequently, does it becomes RED sometimes ?
Yes.
It`s any possible to rework that? any resistor help?
-
I`m observe that often [0,0,0] (turnoff) is RED.
-
Update code
But nothing chnage
(however i just lern how to use "" twice Thanks (\" did`t know\" )
import os import time White = "/root/Downloads/ws2812-spi/ws2812.py -c \"[[255,255,255]]\" -n 1" Green = "/root/Downloads/ws2812-spi/ws2812.py -c \"[[0,255,0]]\" -n 1" Blue = "/root/Downloads/ws2812-spi/ws2812.py -c \"[[0,0,255]]\" -n 1" Red = "/root/Downloads/ws2812-spi/ws2812.py -c \"[[255,0,0]]\" -n 1" Off = "/root/Downloads/ws2812-spi/ws2812.py -c \"[[0,0,0]]\" -n 1" y = 0.5 while True: os.system(White) print("white") time.sleep(y) os.system(Off) print("sleep") time.sleep(y) os.system(Blue) time.sleep(y) os.system(Off) time.sleep(y) os.system(Green) time.sleep(y) os.system(Off) time.sleep(y)
-
-
-
I`m really need update script in Python
Do You have idea how to update this script for example to kept the same effect what You wrote ?
-
Hello
few day ago I install one again ARMBIAN in my OPI WIN PLUS
this version
When I was typing
armbian-config
The loading config setting was missing
sudo apt-get install armbian-config
and after install. when I login via putty
I see screen like below
before that I don`t have any main screen
Could You advice what`s heppen
(when I was first install those image (.5.3.13_desktop.img.gz)
I`m remember the OPI WIN screen.
-
-
I just uninstall python-numpy an color back to normal.
I would like to wrote some short code for change colors in python
Could You advice how to implement this
commands for code
On 12/31/2019 at 6:13 PM, martinayotte said:# Make 16 LEDs red ./ws2812-spi/ws2812.py -c "[[0,255,0]]" -n 16 # Make 16 LEDs white ./ws2812-spi/ws2812.py -c "[[255,255,255]]" -n 16 # Switch 16 LEDs off ./ws2812-spi/ws2812.py -c "[[0,0,0]]" -n 16
-
Hello
I just reinstall Armbian and RGB led start work
However after update
sudo apt install python-numpy
My LED colors is change now off is red and other colors is diffrent
Could You advice why?
?
-
I try to but not works right now.
I have enough of this
I just copy my old files to new image and install other stuff.
-
-
-
-
-
The system image: https://dl.armbian.com/_old/orangepiwin/archive/Armbian_19.11.4_Orangepiwin_bionic_current_5.3.13_desktop.img.gz
Now I have problem with connection to internet
-
Hello
Today my system was suspended after 5 times hit power button OPI was turn oFF
After turn on, can`t connect to Network by eth0 or any WI FI.
I have no idea whats happen I swap the wire but Led on eth connector in OPI yellow/green is blinking.
Restart router and is the same
What I should do?
-
Yes I`m reboot after save
What You mean "overlay"
-
Hello thank for reply:
16 hours ago, martinayotte said:Connect the data line of the WS2812B Neopixels to pin SPI1_MOSI/PA15
I Have the OPI WIN not Zero so I connect to SPI1_MOSI/PD2 hope it`s good.
Next I edit the /boot/armbianEnv.txt file like below :
and saved.
Next steps like You wrote please check:
Unfortunately I have error:
Could You advice what I`m doing wrong?
-
-
After reboot is fine.
However I forgot mentioned I`m update script
#!/bin/bash echo 37 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio37/direction echo 38 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio38/direction echo 39 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio39/direction echo 101 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio101/direction echo 36 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio36/direction while true; do #led1 echo 1 > /sys/class/gpio/gpio37/value sleep 0.25 echo 0 > /sys/class/gpio/gpio37/value sleep 0.01 #Led2 echo 1 > /sys/class/gpio/gpio38/value sleep 0.25 echo 0 > /sys/class/gpio/gpio38/value sleep 0.01 # led3 echo 1 > /sys/class/gpio/gpio39/value sleep 0.25 echo 0 > /sys/class/gpio/gpio39/value sleep 0.01 #led4 echo 1 > /sys/class/gpio/gpio101/value sleep 0.25 echo 0 > /sys/class/gpio/gpio101/value sleep 0.01 #led5 echo 1 > /sys/class/gpio/gpio36/value sleep 0.25 echo 0 > /sys/class/gpio/gpio36/value sleep 0.01 #led4 echo 1 > /sys/class/gpio/gpio101/value sleep 0.25 echo 0 > /sys/class/gpio/gpio101/value sleep 0.01 # led3 echo 1 > /sys/class/gpio/gpio39/value sleep 0.25 echo 0 > /sys/class/gpio/gpio39/value sleep 0.01 #Led2 echo 1 > /sys/class/gpio/gpio38/value sleep 0.25 echo 0 > /sys/class/gpio/gpio38/value sleep 0.01 done
Those command works
echo 0 > /sys/class/gpio/gpio37/value
Remote Desktop won't connect to Orange PI Win
in Allwinner sunxi
Posted
yes, But it`s to complicated for me to implement.