raspberry-sharp/raspberry-sharp-io

Working on model B+ but not on Rpi 2 Model B

sariyu opened this issue · 1 comments

I'm executing the same program, which is working on Raspberry Pi Model B+ but not working on the RPi 2 Model B. Should i enable gpio on the board externally ?

me 2
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Connector pin P1-27 is not mapped to processor with pin layout revision Plus
at Raspberry.IO.GeneralPurpose.PinMapping.ToProcessor (ConnectorPin pin) [0x00000] in :0
at Raspkate.Modules.RaspberryPi.RaspberryController.GetPinsStatus () [0x00000] in :0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in :0
at Raspkate.Handlers.ControllerHandler.InvokeControllerMethod (Raspkate.Handlers.ControllerRegistration controllerRegistration, System.Collections.Generic.List`1 parameterValues, Raspkate.Controllers.RaspkateController controller) [0x00000] in :0
at Raspkate.Handlers.ControllerHandler.Process (System.Net.HttpListenerRequest request) [0x00000] in :0