0

DotStar IOT C# Examples
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

DotStar IOT C# Examples

by rellis on Tue Feb 06, 2018 12:25 am

Hello!

I am banging my head against a DotStar strip in C# and was wondering if anyone has any example code that works. I have searched all over and have not found any specific examples. I am running into a problem with the Show() method and would like to see anybodies working example of using it.

Thanks so much!

rellis
 
Posts: 5
Joined: Tue Feb 06, 2018 12:22 am

Re: DotStar IOT C# Examples

by rellis on Wed Feb 07, 2018 4:05 am

Ok so I managed to figure out my problem... For some reason that I don't understand the DotStar wants to use gpio 6 for something it calls a ScopePin. Nothing in the tutorials or the basic documentation references this at all. My issues was that I was using that pin for something else (a button) and that was causing the DotStar.Show() method to error out with a null reference. (The ScopePin)

I don't understand why it needs pin 6 but if you are every having a weird issue with .Show() and null make sure that pin is free for it to grab.

:|

rellis
 
Posts: 5
Joined: Tue Feb 06, 2018 12:22 am

Please be positive and constructive with your questions and comments.