Main Site Documentation

Worlds smallest TinyCLR OS board?


#41

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


#42

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…


#43

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);
        }
    }
}

}


#44

Where can I buy one…
Great job again Justin.


#45

Ping me an email… :wink:


#46

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

Yes more than happy to share.


#47

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


#48

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.


#49

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


#50

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

@Terrence - and no shiny :joy:


#51

Justin, you’ve outdone yourself this time.


#52

Justinnnnnn I want someeeeer pleaseeee


#53

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


#54

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


#55

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


#56

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.


#57

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.


#58

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


#59
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.


#60

Okay, how much for shipping to NZ?

OH WAIT! :slight_smile:

How much to drop one in an envelope to Christchurch?