Monthly Archives: June 2013

Parent-Child Relationship in OOP C++

The C++ source code below: #include #include using namespace std;class CParent {public: CParent() { ref++; cout << "class CParent: constructor ref=" << ref << endl; Function(); }; virtual ~CParent() { ref–; cout << "class CParent: destructor ref=" << ref << … Continue reading

Posted in Uncategorized | Leave a comment

SPI on Arduino Nano v3.0

IC Package: 32 pin MLF ArduinoPin # ATMEL 328P (MLF) pin# ATMEL 328P(PDIP) pin# Label Function D10 14 16 PB2 SS* D11 15 17 PB3 MOSI D12 16 18 PB4 MISO D13 17 19 PB5 SCK The problem is, according to … Continue reading

Posted in arduino, Electronics, embedded system | Leave a comment

Arduino Nano v3.0 with avr-dude

My order of two Arduino Nano-compatible v3.0 from eBay (shipped from China) just arrived. Also bought the USBASP USBISP AVR Programmer from eBay (about $3.0, from China too, see the picture on the left). The good thing about this USBISP … Continue reading

Posted in arduino, Electronics, embedded system | 1 Comment