Worlds smallest TinyCLR OS board?

Just got the notification from my freight forwarder. Looks something’s showing up on Friday please God.

1 Like

Mine just arrived!!

:slight_smile:

Just trying to gather all the info on it, Schem (its so small Im struggling even under my head magnifier) , Pinouts (above here), and STM docos…

Running TinyCLR OS 0.6 :slight_smile:

using System.Threading;
using GHIElectronics.TinyCLR.Devices.Pwm;
using GHIElectronics.TinyCLR.Pins;

namespace TinyCLRApplication3
{
class Program
{
private static PwmPin _led;

    static void Main()
    {
        PwmController controller = PwmController.FromId(G30.PwmPin.Controller1.Id);
        _led = controller.OpenPin(G30.PwmPin.Controller1.PA8);
        controller.SetDesiredFrequency(1000);
        _led.Start();
        new Thread(LedPulse).Start();
        Thread.Sleep(Timeout.Infinite);
    }
    static void LedPulse()
    {
        for (;;)
        {
            for (double i = 0; i < 100; i++)
            {
                _led.SetActiveDutyCyclePercentage(i / 100);
                Thread.Sleep(5);
            }
            for (double i = 100; i >= 0; i--)
            {
                _led.SetActiveDutyCyclePercentage(i / 100);
                Thread.Sleep(5);
            }
            Thread.Sleep(1000);
        }
    }
}

}

6 Likes

Where can I buy one…
Great job again Justin.

Ping me an email… :wink:

@mifmasterz - Over worked and under paid but apart from that - all good thanks :slight_smile:

Yes more than happy to share.

@Mr_John_Smith - you all good after the big blow? Hopefully it wont impact much with the mailman??

Well guys, have not been able to check the box yet as I am relaxing in the cool mountains of New Mexico. No heat, no humidity, no Harvey induced gas shortage and no 8-5.

1 Like

@Justin, I live in Trinidad, the freight forwarder is in Miami. I hope they’re gonna be ok.

@Mr_John_Smith - yeah, good you missed to worst of it…

@Terrence - and no shiny :joy:

Justin, you’ve outdone yourself this time.

3 Likes

Justinnnnnn I want someeeeer pleaseeee

Good to see Pat and his cat made it thru :slight_smile:

@Jay_Jay surely your too busy working for the man… :joy:

Here I always thought I was working with the man for the people! You know “help everyone achieve more”

Actually I finally moved into my new house, after almost three years in the making :wink:
Jay

You trying to butter me up by trying to appeal to my vein side and implying i am the Che Guevara of NETMF?

Might just work :joy:

Congrats on the house.

1 Like

Trinidad!

Long shot. Looking for long lost college buddy. Peter Dean Lelum, should be about 55 years young. His dad was in the concrete biz. Tell me he is your neighbor?:heavy_check_mark:

He was into higher math, so maybe doing electronics.

Nah, I don’t think he is. If he’s 55 years old then that would be out of my Generation. Sorry :frowning:

using System;
using System.Collections;
using System.Text;
using System.Threading;
using GHIElectronics.TinyCLR.Devices.Gpio;
using GHIElectronics.TinyCLR.Pins;

namespace Electron {
	class Program {
		static void Main() {

			GpioPin led = GpioController.GetDefault().OpenPin(8); // PA8 Electron Baby!
			led.SetDriveMode(GpioPinDriveMode.Output);

			while (true) {
				led.Write(GpioPinValue.High);
				Thread.Sleep(100);
				led.Write(GpioPinValue.Low);
				Thread.Sleep(100);
			}
		}
	}
}

Took a while but I got it to blink again. Whew. Now to find that PWM Controller.

Okay, how much for shipping to NZ?

OH WAIT! :slight_smile:

How much to drop one in an envelope to Christchurch?