IISSSSUUEE0055--SSEEPP22001122AAMMaaggaazziinneeffoorrRRaassppbbeerrrryyPPiiUUsseerrsshttp://www.themagpi.comRaspberry Pi is a trademark of The Raspbe
SEPTEMBER COMPETITIONLast Month's Winner !
XBMC Media Center:OpenELEC and Raspbmc
sudo passwd pi
sudo apt-get install <packagename>\Movies\Transformers (2007).mkvhttp://wiki.xbmc.org/index.php?title=Adding_videos_to_the_library/Naming_files/
http://sources.openelec.tv/tmp/image/openelec-rpi/http://wiki.openelec.tv/index.php?title=Installing_OpenELEC_on_Raspberry_Pihttp://wiki.openelec.tv/i
.
sudo apt-get install geany
sudo mkdir /backupsudo chown pi /backupnano backupcp -r -v /home/pi/backupbash backupecho "Starting backup"cp -r -v /home/pi/backupecho &quo
bash backup | lesschmod +x backup#!/bin/bash./backup#!/bin/bash# Simple program to make a backup of files on the Raspberry Pi# Set the location of my
Welcome to Issue 5,This month we have a collection of hardware projects for you, as well asour usual selection of programming articles and general ope
.#include <stdio.h>int main(){int nterms, term = 0, i;printf("How many terms? "); /* Ask the user for input */scanf("%d", &a
{} ()#include <stdio.h>unsigned int factorial(unsigned int x);int main(){unsigned int i = 3; /* Declare an int and assign it the value three. */
#include <std io.h>int main() {int i, *p, arr[4] = {6,2,4,7};p = &arr[0]; /* Assign the address of the first element to p */for(i=0;i<(si
fprintf(filePtr,"Writing out some important data...%d, %d, %d\n",2,3,4);fclose(filePtr); /* Close textFile.txt, flushing data to disk */,#in
# GRADIENT FILL# By Jaseman - 8th August 2012import os, pygame; from pygame.locals import *pygame.init(); clock = pygame.time.Clock()os.environ['
# MOUNTAINS# By Jaseman - 18th August 2012import os, pygame; from pygame.locals import *pygame.init(); clock = pygame.time.Clock()os.environ['SDL
# POINTS OF A CIRCLE# By Jaseman - 21st August 2012import os, pygame; from pygame.locals import *from math import sin, cos, pipygame.init(); clock = p
Contents
# CIRCLE DEMO# By Jaseman - 22nd August 2012import os, random, pygame; from pygame.locals import *from math import sin, cos, pipygame.init(); clock =
pdl(bk,[rcol,gcol,bcol],(bgcx[b]+cx-2,cy+bigradius+10),(smcx[b]+cx-2,cy+bigradius+30))pdl(bk,[rcol,gcol,bcol],(cx-bigradius-14,bgcy[a]+cy-2),(cx-bigra
Feedback...
Continued over page...
# python3# Steady hands gameimport RPi.GPIO as GPIOimport time# use BCM GPIO numbering - use anything else and you are an idiot!GPIO.setmode(GPIO.BCM)
This article builds on topics fromprevious issues of The MagPi and showshow to add a temperature sensor to yourPi together with a simple method toreco
Wiring Connections:Tmp102 Pi GPIOGND PIN 06 (Ground)SCL PIN 05 (I2C0_SCL)SDA PIN 03 (I2C0_SDA)V+ PIN 01 (3V3 Power)ALT leave disconnectedADD0 GNDi2cge
{"version":"1.0.0","datastreams":[{"id":"YYYYY", "current_value":"T1"}]}#!/bin/b
Kommentare zu diesen Handbüchern