Questions tagged [c#]

For questions pertaining to compiling C# programs on the Raspberry Pi.

C# is general purpose programming language derived from C and akin to Java, originally propagated by Microsoft but with an open source implementation (mono) available for GNU/Linux distributions like Raspbian as well.

Note the syntax highlighting used for C# questions is actually lang-java because google prettify does not have direct support for C#.

81 questions
1
vote
0 answers

How to use Raspberry.IO.SerialPeripheralInterface?

I found the package which is possible communicate in SPI mode, but I dont found a way to use with sucess. So, Anybody could show how to use this package? I am currently using C# in Xamarin.
1
vote
0 answers

How to communicate Raspberry Pi 3 with Arduino via ISP with C#?

Currently need use the Xamarin as IDE. I need communicate a raspberry as master with a Arduino Pro mini as slave using C#. I dont know how to call/set the MISO and the MOSI. I believe that have a library to be used as system.IO, but I really dont…
0
votes
1 answer

Raspbian -.net core application won't reload configuration

Issue: I am running a .net core application on a Raspberry PI. I am loading the configuration from a JSON file and storing in a class for reference in the application - a hosted service in this case. If I start the application manually and then…