Hi!
I have a Tinker Board.
SO: Tinker OS Debian.
I installed .Net Core 5 Arm32. (runtime + sdk)
It works fine!
I tried to make a simple Blinking Led app to start working with Tinker GPIO's.
CODE: (from https://docs.microsoft.com/pt-pt/dotnet/iot/tutorials/blink-led)
using System;
using System.Device.Gpio;
using System.Threading;
Console.WriteLine("Blinking LED. Press Ctrl+C to end.");
int pin = 18;
using var controller = new GpioController();
controller.OpenPin(pin, PinMode.Output);
bool ledOn = true;
while (true)
{
controller.Write(pin, ((ledOn) ? PinValue.High : PinValue.Low));
Thread.Sleep(1000);
ledOn = !ledOn;
}
The app compiles with no problems.
But the link don't Blink. He keeps always "ON". It seams that cannot write to PIN...
Does anyone know if .Net Iot GPIO Library can communicate with Tinker GPIO ? There is some limitation ?
Thanks