Monthly Archives: July 2013

Recommend RT-Thread RTOS to Linux programmers

In a nutshell, Linux programmers will love RT-Thread API. Thread in RT-Thread works like  POSIX thread:  #include <posix_types.h> Each thread has TCB (task control block),  like Linux kernel thread, share the global memory, but has its own stack (pre-decleared array … Continue reading

Posted in Uncategorized | Comments Off on Recommend RT-Thread RTOS to Linux programmers

Software SPI library for Arduino tested on Mega2560

Since there is only one hardware SPI, but it is used by Ethernet or Wifi shield. If you wantto conenct some other sensors via SPI, the Ethernet lib is reluctant to cooperate. So a software bit-banging library may be necessary. … Continue reading

Posted in Uncategorized | Comments Off on Software SPI library for Arduino tested on Mega2560

[notes]Arduino IDE can NOT include libraries within project subfolders

The IDE requires every file to be in the same directory as the main program!

Posted in Uncategorized | Comments Off on [notes]Arduino IDE can NOT include libraries within project subfolders