Linuxmag is onderdeel van Reshift Digital BV
Copyright © 2022
Linuxmag.nl is partner van The Linux Foundation
systemctl daemon-reload systemctl start icecast ices-Arjan systemctl enable icecast ices-Arjan
Read more# # Copyright (c) 2013 Pascal Bleser <pascal.bleser@opensuse.org> # Authors: # * Pascal Bleser # * http://pyn00b.blogspot.be/2012/11/life-with-systemd-part-2.html # * Werner Fink for the postfix.service file # * Arjan ten Hoopen...
Read more<?xml version="1.0"?> <ices:Configuration xmlns:ices="http://www.icecast.org/projects/ices"> <Playlist> <!-- This is the filename used as a playlist when using the builtin playlist handler. --> <File>/etc/ices/Arjan/Arjan.txt</File> <!-- Set this to 0 if you...
Read moreimport time import RPi.GPIO as GPIO GPIO.setmode(GPIO.BCM) knoppen = [5, 6, 13, 19] GPIO.setup(knoppen, GPIO.IN, pull_up_down=GPIO.PUD_UP) def knop_ingedrukt(pin): print('knop %s'%(knoppen.index(pin)+1)) for knop in knoppen: ...
Read moreimport epd2in7b import Image import ImageFont import ImageDraw import time import RPi.GPIO as GPIO import subprocess epd = epd2in7b.EPD() epd.init() COLORED = 1 UNCOLORED = 0 GPIO.setmode(GPIO.BCM)...
Read moreconst int ledPin = 3; const int max_stil = 10000; // Maximale tijd in milliseconden dat de led niet flakkert, langer is rustiger. const int max_vertoning = 3; // Maximumaantal...
Read moreconst int micPin = A0; const int ledPin = 13; const int drempel = 5; // Stel hiermee de gevoeligheid in. Lager is gevoeliger, minimumwaarde is 2. int value1 =...
Read moreint switchstate = 0; const int ledPin = 12; const int switchPin = 6; const int langdrukken = 1000; // Bepaal hiermee hoe lang de knop moet worden ingedrukt om...
Read more# Installatie van de Turtl server # zie ook https://www.linode.com/docs/applications/cloud-storage/how-to-install-a-turtl-server-on-ubuntu/ sudo apt install wget curl libtool subversion make automake git m4 sudo wget https://dist.libuv.org/dist/v1.19.2/libuv-v1.19.2.tar.gz # libuv installeren sudo...
Read more# Turtl desktop client installatie script # # Hieronder installeren wij versie 0.6.4., controleer of dit de laatste # versie is sudo apt-get install libcanberra-gtk-module bzip2 wget https://turtlapp.com/releases/desktop/turtl-linux64-0.6.4.tar.bz2 bzip2...
Read more