ExtendedSpiConfiguration Throwing NullReferenceException


I'm trying to use the AdaFruitST7735 class, but when ExtendedSpiConfiguration is initialized line 98 of ExtendedSpiConfiguration.cs throws a null reference exception.

FieldInfo fieldInfo = spiConfigurationType.GetField("Custom_BitsPerTransfer", BindingFlags.NonPublic | BindingFlags.Instance);
fieldInfo.SetValue(this, BitsPerTransfer); // <--- Exception

fieldInfo is null.


seppve wrote Mar 2, 2013 at 11:37 AM

I also confirm the same problem when I'm running AdaFruitST7735Test software in my Netduno 1 board and .NET Micro Framework SDK v4.2 istalled in my PC.

wemobile wrote May 22, 2013 at 2:02 AM

I have the same problem on Netduino Plus 2 and .NET Micro Framework SDK v4.2. How can I use AdaFruitST7735Test ?