Jump to content

rogercarvalho

Members
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi! Solved! It was a problem related with the pin export at path "sys/class/gpio/export" Its possible to use the System.Device.Gpio library to access asus tinker gpio pins. Best regards
  2. Hi! I posted an issue on github and will try the susgestion: "You can try this and refer to the datasheet for pin mapping https://github.com/dotnet/iot/tree/main/src/devices/Gpio/Drivers/Rockchip" Thanks to Zhang Yuexin.
  3. 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
×
×
  • Create New...