TBB example source code ( parallel_invoke function )

You need TBB lib to run this source code.

Download TBB file, and unzip your propely new folder in your computer.
And copy dll files into windows\system folder.

TBB download url -> https://www.threadingbuildingblocks.org/download

Set path of TBB incoude, lib location on the Visual studio.

This is example source code.

#include < stdio.h>
#include < tchar.h>
#include < time.h>
#include < tbb/tbb.h>

#ifdef _DEBUG
#pragma comment(lib, "tbb_debug.lib")
#pragma comment(lib, "tbb.lib");
#endif // _DEBUG

using namespace tbb;

void main()
 task_scheduler_init init;

  ::printf("finish:%d\n", 1000);
  ::printf("finish:%d\n", 10000);

 printf("All work is done \n");


(Arduino Study) Arduino LED on/off by Serial communication

I'm sorry very easy~!

(Arduino Study) Arduino serial communication and led on/off on the board(pin 13)

Very Easy and Fun.
Later, Serial Communication window can be used by debug window~~

digitalWrite(12, HIGH); -> This code is the function to use pull up register.