500 points for the first video

The new SDK online allows you to enable virtual serial port on USB while you are debugging on USB simultaneously!
[url]http://www.tinyclr.com/forum/15/1319/[/url]

Try it out and make a video. You will get 500 experience points if you show the first video.

A very basic video :slight_smile: had to do this in 15 mins flat (download, program, get it work and make the video)

A basic question.

How do I embed the video into the post ???

in your case it should be

the word video in square blacket follows by
=youtubeoFbQe1JGhe0
the the word \video in square blacker

Did I miss something? I think Gus wanted a video where it shows how you are debugging and while stepping in the code in Visual Studio, you are able to print to the com port as well. Maybe step in code and see how it is printing a count variable for example 0, 1, 2…

Here is a video that show CDC and Debug at the same time :wink:

[url]- YouTube

Sam

Thanks for the info but I am not able to do it :frowning:

[video=youtube]TtotOUAGS7g[/video]

remove both the “_” to make it work.

Rajesh :clap:

Thanks Foekie

I could not figure that till now :slight_smile:

Thank you Rajesh and Robert.
You are a great support to FEZ and NETMF community. 8)

Thanks Josef, we do our best 8)

Here is FezTerm I did to use the new cdc feature. Kinda cool. View better in 720p on the video bar.

Will post FezTerm project next.

Was slow at the beginning but then it got very exciting! Looking forward to see the project page :wink:

Thanks Gus. I will try to speed it up next time.

Hello all,

Just played with this option today to see how it works
And i can see the results poping up into the comm terminal and i can walk trough the code.
But a Debug.Write(‘test’); that i added is not shown,

Do i miss a setting somewhere?

thanks

Debug.Write(‘test’); ?

This is the source code i used:

using System;
using System.Threading;
using Microsoft.SPOT;
using Microsoft.SPOT.Hardware;
using GHIElectronics.NETMF.FEZ;
using GHIElectronics.NETMF.USBClient;
using GHIElectronics.NETMF.Hardware;

namespace USBClient_Example
{
    public class Program
    {
        public static void Main()
        {
            OutputPort LED = new OutputPort((Cpu.Pin)FEZ_Pin.Digital.LED, false);
            USBC_CDC cdc = USBClientController.StandardDevices.StartCDC_WithDebugging();

            // Send "Hello world!" to PC every second. (Append a new line too)
            byte[] bytes = System.Text.Encoding.UTF8.GetBytes("Hello world!\r\n");
            while (true)
            {
                    LED.Write(false);
                    cdc.Write(bytes, 0, bytes.Length);
                    Debug.Print("test..."); 
 
                Thread.Sleep(1000);
            }
        }
    }
}

I expected the Debug.Print message in the output box of Visual C# to see. But it does not show at all.

If you step through the the code then you should see it

Tried that indeed, but then it is also not shown, sorry :wink: