RaspberryPi.Net icon indicating copy to clipboard operation
RaspberryPi.Net copied to clipboard

error with lib bcm2835_init()

Open asadawesat opened this issue 9 years ago • 0 comments

after i run this script i got error below any help please the dll for RaspberyPiDotNet.dll and so file is already shared in gpio_csharp

using System; using RaspberryPiDotNet;

namespace Test { class Program { static void Main(string[] args) { GPIOMem led = new GPIOMem(GPIOPins.V2_GPIO_12) while(true) { led.Write(PinState.High); System.Threading.Thread.Sleep(500); led.Write(PinState.Low); System.Threading.Thread.Sleep(500); } } } }

System.TypeInitializationException : An exception was thrown by the type initializer for RassberryPiDotNet.GPIOMem --->System.Exception:libbcm2835.so at (wrapper managed-to-native)RaspberryPiDontNet.GPIOMem:bcm2835_init() at RaspberryPiDotNet.GPIOMem..cctor()[0x00001]in

asadawesat avatar Aug 28 '15 18:08 asadawesat