Go to advanced search

by ReBoot
Thu Oct 31, 2013 11:07 am
Forum: Other programming languages
Topic: VB.Net GPIO
Replies: 8
Views: 5337

Re: VB.Net GPIO

I've managed to get it to work using http://www.codehosting.net/blog/BlogEng ... igpio.aspx
by ReBoot
Tue Oct 29, 2013 9:43 am
Forum: Other programming languages
Topic: Mono C# - Playing MP3
Replies: 2
Views: 2979

Re: Mono C# - Playing MP3

.NET doesn't have any audio support, you will have to tap into the underlying System. The cheapest way out is using Process.Start to Launch whatever CLI Player is installed.
by ReBoot
Tue Aug 27, 2013 5:00 pm
Forum: Python
Topic: How to use os.system with interrupts?
Replies: 1
Views: 626

How to use os.system with interrupts?

I have the following code which works nicely: import RPi.GPIO as GPIO from time import sleep import warnings import os import sys #Configuration ButtonPin=25 OnTimeInSeconds=7 #End of configuration with warnings.catch_warnings(record=True) as w: warnings.simplefilter("error") Counter=0 Zustand = Tru...
by ReBoot
Sat Jun 22, 2013 3:17 pm
Forum: Python
Topic: How to wake a sleeping screen?
Replies: 2
Views: 11705

How to wake a sleeping screen?

I'm on latest Debian here (softfloat, hardfloat collides with my C#/Mono business logic) and would like to know how to wake up a sleeping screen. Debian turns the screen off after a while, I've set it to turn off after 3 minutes using xserver-command=X -s 3 and would like to use Python to control th...
by ReBoot
Fri Jun 14, 2013 3:24 pm
Forum: Raspberry Pi OS
Topic: Raspbian vs Wheezy (beta) Mono support
Replies: 225
Views: 90174

Re: Raspbian vs Wheezy (beta) Mono support

Any updates? Does the Soft-float Debian “wheezy” solve the problem ? I managed to run a few console applications with mono... So , if I convert my existing Windows Forms software to a console application, is everything going to work fine? It's a lot of work so I don't want to start without knowing ...
by ReBoot
Wed Jun 05, 2013 4:01 pm
Forum: Python
Topic: A resetable background timer?
Replies: 8
Views: 4380

Re: A resetable background timer?

At the end of the day, here's what's working: import RPi.GPIO as GPIO from time import sleep #Configuration ButtonPin=23 TransistorPin=25 OnTimeInSeconds=23 #End configuration Counter=0 GPIO.setmode(GPIO.BCM) GPIO.setup(ButtonPin,GPIO.IN,pull_up_down=GPIO.PUD_UP) GPIO.setup(TransistorPin,GPIO.OUT) d...
by ReBoot
Sun Jun 02, 2013 1:06 am
Forum: Python
Topic: Python or Python 3?
Replies: 9
Views: 2915

Re: Python or Python 3?

It's not about which Python to install, it's about which Python to code for.
by ReBoot
Sat Jun 01, 2013 4:17 pm
Forum: Python
Topic: Python or Python 3?
Replies: 9
Views: 2915

Re: Python or Python 3?

Because I don't want to run two programs in parallel and I can't run two programs in parallel as they're using GPIO.
by ReBoot
Fri May 31, 2013 9:00 am
Forum: Python
Topic: A resetable background timer?
Replies: 8
Views: 4380

Re: A resetable background timer?

Maybe you can use threading library, I'll show you an easy example import threading # this is bulit in library timeout_obj = []# intial a list to store a timer w def button(xxx,yyy): xxxxxxxx self.timeout_obj.cancel()#cancel the timer which declare before timeout_obj = threading.Timer(23.0, timer_r...
by ReBoot
Fri May 31, 2013 7:45 am
Forum: Python
Topic: A resetable background timer?
Replies: 8
Views: 4380

Re: A resetable background timer?

How do I create regular intervals? Is there a timer (well, damn) which fires every let's say second and allows for a callback?
by ReBoot
Thu May 30, 2013 11:33 pm
Forum: Python
Topic: A resetable background timer?
Replies: 8
Views: 4380

A resetable background timer?

My current task is to switch an output pin using an input pin. The plan is easy: after 23 seconds of inactivity, the output goes low. If a button is pressed during that time, the timer gets reset. If that button is pressed after the the output is already low, the output is pulled high and the timer ...
by ReBoot
Thu May 30, 2013 10:44 am
Forum: Python
Topic: Python or Python 3?
Replies: 9
Views: 2915

Python or Python 3?

Which one do you guys recommend?
Conditions: gotta use GPIO pins.
by ReBoot
Thu Apr 25, 2013 8:49 pm
Forum: Other projects
Topic: STICKY: The projects list. Look here for some ideas.
Replies: 233
Views: 417476

Re: The projects list. Look here for some ideas.

1. The RPi as a zero-interaction weather forecast, catch the forecast from some web API, parse it and make it look nice on an attached screen (in fact, I've version 1.0 of that available ). 2. The RPi as a Controller for a LED cube to make it play the game of life on the sides of the cube. 3. The RP...
by ReBoot
Thu Feb 28, 2013 7:00 am
Forum: Raspberry Pi OS
Topic: Raspbian vs Wheezy (beta) Mono support
Replies: 225
Views: 90174

Re: Raspbian vs Wheezy (beta) Mono support

Ow, yes. Soft-float Debian. Anyway, I'll try the start.elf replacement from Raspbian hard to Debian soft.
by ReBoot
Wed Feb 27, 2013 11:09 pm
Forum: Raspberry Pi OS
Topic: Raspbian vs Wheezy (beta) Mono support
Replies: 225
Views: 90174

Re: Raspbian vs Wheezy (beta) Mono support

Today was the weirdest day of my Pi life. I had Mono running. Seriously. I had a SD card around, flashed maybe in January (maybe a month before), run apt-get update, apt-get upgrade, installed Mono and it worked! After trying some fancy stuff with partitions, I had a "bricked" Pi, so I downloaded th...
by ReBoot
Mon Jan 28, 2013 10:21 am
Forum: Raspberry Pi OS
Topic: Newer soft float?
Replies: 4
Views: 1068

Re: Newer soft float?

Well, define "Main issue". Mono also crashes horribly with hard float.
by ReBoot
Mon Jan 28, 2013 9:54 am
Forum: Raspberry Pi OS
Topic: Newer soft float?
Replies: 4
Views: 1068

Newer soft float?

Does anyone know if the soft float build will get updated to match the state of the hard float build? Certain software just doesn't work on the hard float build, so I'm stuck with either not getting the newest goodness or not being able to use certain software.
by ReBoot
Mon Jan 28, 2013 9:51 am
Forum: General discussion
Topic: raspberry communication
Replies: 2
Views: 560

Re: raspberry communication

Why going the complicated way? The GPIO header has UART pins, use them for RS232 communication. AFAIK you can just write/read the device file for RS232. There are also files for configuring the UART. Also, take a read http://www.raspberrypi.org/phpBB3//viewtopic.php?f=44&t=9931 and http://learn.adaf...
by ReBoot
Tue Jan 15, 2013 10:37 am
Forum: General discussion
Topic: Can I add IDEs to my Raspberry Pi?
Replies: 2
Views: 576

Re: Can I add IDEs to my Raspberry Pi?

Running fully-blown IDEs on the Pi is a bad idea performance-wise. There's always IDLE, but it's a bad joke of an IDE, IMHO.
At the end, you can try running MonoDevelop on the Pi.
by ReBoot
Wed Dec 19, 2012 2:31 pm
Forum: Media centres
Topic: config.txt overscan or XBMC video calibration
Replies: 4
Views: 27627

Re: config.txt overscan or XBMC video calibration

I don't know of OpenElec, but Raspbmc surely has GUI settings to configure overscan, right with the remote (my TV Pi doesn't have any classical input). Maybe you could try that and either stick with Raspbmc or extract the settings from the SD card.
by ReBoot
Wed Dec 19, 2012 2:18 pm
Forum: HATs and other add-ons
Topic: Alternative to just a USB hub?
Replies: 6
Views: 2198

Re: Alternative to just a USB hub?

Look is that thing is supported natively by Linux (especially Debian Linux). If yes, it's most likely good to go.
by ReBoot
Mon Sep 17, 2012 2:44 pm
Forum: Beginners
Topic: Expand the GPIO
Replies: 14
Views: 4084

Re: Expand the GPIO

Suggestion: build an external circuit to drive the LEDs. Let it have an own chip which speaks SPI with the RPi and drives the LEDs accordingly.

Go to advanced search