Mono is an open-source, cross-platform implementation of the .NET platform.

learn more… | top users | synonyms

0
votes
0answers
12 views

UART Issues with Mono at Startup

I have developed a .NET application running in Mono on Raspbian that communicates to a PIC microcontroller via serial. The application is working well when I start it manually, however I would like to ...
1
vote
2answers
51 views

Rotary encoder/monitoring multiple pins with Raspberry Sharp

I'm using Mono and the Raspberry Sharp library to try and decode the output of a rotary encoder. Raspberry sharp: https://github.com/raspberry-sharp/raspberry-sharp-io Rotary encoder data sheet: ...
2
votes
0answers
157 views

Broadcast UDP Message from Raspberry Pi to other subnet in the LAN [closed]

I have created two C# application to send a UDP command to broadcast IP and receive the message. I can send the broadcast message from my windows system to Raspberry Pi and receive the message in my ...
1
vote
1answer
365 views

running MonoGame on Raspberry Pi

I'm trying to get a MonoGame project working on my Pi. I've done the following: sudo apt-get install mono-runtime sudo apt-get install monodevelop sudo apt-get install libmonogame-cil-dev ...
0
votes
1answer
117 views

Sending data to a 1602 LCD in Mono C# over i2c

How would I be able to put information on a 1602 lcd over SPI? I was thinking that it may be possible to write to the pin (like a file) with all the hex codes of the letters etc. or similar. I'm a ...
1
vote
2answers
230 views

Pi B+ as a 24v motor controller, code written in C#(Mono). Power concerns

Background Information My college has entered an annual racing competition called Greenpower, and it's been agreed to use a Raspberry Pi as the car motor controller. Since I am the only knowledgeable ...
1
vote
0answers
164 views

xbuild fails to build .csproj on raspbian

I am trying to build a C#-project (written on windows, copied to the Pi): root@raspberrypi:/home/pi# xbuild MDD_Basic.csproj Which leads to two error messages and the build inevitably failing. ...
0
votes
0answers
102 views

Cannot run mono-service -l:file.lock on Raspberry pi Debain Wheezy

I've written a service in C#. It runs fine on Windows as a service. And I can also get it to run once on Raspberry pi using the command: mono-service MyService.exe However, I would like to ...
0
votes
0answers
90 views

mono-service keeps reserving memory untill raspberry is out of mem

So I have a background service written in C# which connects to a RFID-reader and reads out all the tags he sees. After that the service will place all tags in a database running on the Raspberry Pi as ...
0
votes
0answers
61 views

C# VCNL4000 Make error with ../version.h

I was trying to use a proximity sensor with the Raspberry PI called the VCNL4000 using this git:https://github.com/silentbobbert/pi_sensors . An existing solution is shown in this video: ...
0
votes
0answers
899 views

Receive data from uart! Raspberry Pi mono c#

I'm new and I wanted your help please... From today, after updating libraries Mono C# on my Raspberry Pi Rev 2 Type B (wheezy), the communication via serial no longer works, it seems to me very ...
2
votes
0answers
274 views

Mono hard float latest release is failing for Text box control

I have installed mono for hard float 3.2.7. If I put Text box control within the C# the code is crashing. Why is text box control is failing in the 3.2.7 (hardfloat) version? Is there a fixed version ...
3
votes
1answer
540 views

Parsing Double in Mono (C#) fails

I need to serialize objects to JSON. If I install mono from apt-get, serializing with JSON.net does not work. I added this line into /etc/apt/sources.list: deb ...
1
vote
2answers
908 views

UART/Serial communication w/ mono

I have a diplay w/ touch functionality, that communicates via either I2C, SPI or Serial (datasheet). I want to use it in a mono-application. The display has sufficient power and is connected ...
0
votes
2answers
263 views

Read positioning data from 4 laser mice

On Arch Linux, would it be possible to somehow read the raw positioning data from 4 of these mice at at least 2400dpi simultaneously at high speed (150mm/s) using an RPi? I am guessing that this ...
0
votes
0answers
443 views

Compiling Mono 3.x on Raspberry Pi

To get rid of the soft float vs. hard float ABI problem I tried to install an up-to-date version of mono on my Raspberry Pi with git clone https://github.com/mono/mono.git cd mono git submodule init ...
2
votes
1answer
203 views

Fail to compile NancyFX

I'm trying to compile NancyFx on my raspberry using this guide but fail at step 5. The command "rake mono" failes with the error uninitialized constant Albacore:Task So, I guess there is ...
1
vote
1answer
1k views

Mono C# SPI interface

Is there any way that I can interface with an SPI pin extender from a Mono C# application running in Arch Linux on the RPi? EDIT: I want to use the hardware SPI interface like can be done with ...
3
votes
2answers
1k views

Virtual UART ports

I want to use a Rpi to interface with 3 atmega ics in an embedded system but the pi seems to only have one uart port. I know arduino can emulate a serial connection over two io pins, will this be ...
3
votes
1answer
503 views

How to call ServoBlaster from C#/Mono?

I have successfully installed ServoBlaster, and it runs quite well from the terminal with the command echo p1-22=250 > /dev/servoblaster just like the documentation says. However, when I try ...
5
votes
3answers
2k views

How to prevent Raspberry Pi memory allocation failure?

I have installed a Terraria server on my Raspberry Pi (Version B Revision 2) yesterday. I followed this tutorial on Reddit. I used the latest version of Raspbian provided by NOOBS: I just ...
2
votes
1answer
5k views

How can I run a terminal command (bash) from C#/Mono?

I've got an asp.net mvc website up and running great on the pi, and I'm even blinking an led - however, I would like to take a picture from the site using the raspberry pi camera board. I am ...
2
votes
1answer
570 views

Mono + XSP: WebService example does not work

There have been questions quite similar to this one, but I could not find any solution. So excuse me for asking it again. I'm running Debian Linux and I installed Mono. Once I started the sample ...
2
votes
0answers
298 views

Mono | Overwrite | Crash [closed]

I had recently some problems with mono, apache2 and ASP.NET on my Wheezy Hard-Float image. If I open the page the first time it starts and displays normally. After editing the page and publishing it ...
1
vote
3answers
8k views

How do I run a background service written in MONO?

I need the service to automatically start upon boot, it does not require console access for a start. Ofcause it would be nice to be able to produce some output for logging/debugging/stats. But for ...
2
votes
2answers
1k views

How can I run a MONO application/program on boot?

I would like to make this as userfriendly as possible, so my MONO application is going to be a fullscreen application that runs automatically when the OS and startx is done loading. How do I run a ...
1
vote
1answer
805 views

How bad are the MONO errors at the moment? eg. datetime issues [closed]

I have heard that there are several MONO issues with the current version of Raspbian Wheezy. What is the extent of these issues? Are they minor or do they severely stifle programming? Other people ...
1
vote
1answer
265 views

Which OS image is the easiest to use with mono-runtime?

I just got hold of my first Raspberry PI Rev 2 yesterday (512 MB) + a 32 GB SD card. Connected LAN, USB mouse+keyboard and downloaded Raspbian "Wheezy"and extracted it. Everything worked and looked ...
0
votes
1answer
667 views

How do I run a program on a separate thread?

I would like to run a programme or script that I wrote on start-up of the Pi - on a separate thread(process) / background. I would love to do this with MONO application but any other examples would ...
1
vote
2answers
4k views

I2C library for Mono/C#

Is there a library to use I2C bus on RPi for Mono/.NET? I was trying to find anything, but there are only libraries to work with GPIO but not with I2C.
4
votes
2answers
1k views

Is there a way to get SoundPlayer to work or is there an alternative?

I am using the Raspbian “wheezy” image and I copied over a wav file and played it successfully doing: aplay test.wav So then I knocked up this little console application: using System; using ...
6
votes
2answers
7k views

The assembly mscorlib.dll was not found or could not be loaded - what gives?

Using the Raspbian Wheezy image... I installed the mono runtime like so on my Raspberry PI: sudo apt-get update sudo apt-get install mono-runtime and it seemed to install fine (If I run mono I get ...
38
votes
4answers
12k views

Is it possible to run .NET code on the Pi using mono?

Is it possible (and feasible) to run .NET applications on the Raspberry Pi with Mono? If so, how well do they run? Is a basic GUI usable, or does poor performance realistically restrict it to ...