How to play a .wav on the iphone using the iOS sdk
To play a sound on your iPhone, first of all, you shall add the Audio the Audio Toolbox framework into your frameworks group in XCode. Then, at the beginning of your view controller add the following line: #import <AudioToolbox/AudioToolbox.h>... Read more
The second release candidate of Arduino 1.0 is available
Arduino1 Summary of changes in Arduino 1.0. Download The second release candidate of Arduino 1.0 is available (as of October 25, 2011): This is a preview of The second release candidate of Arduino 1.0 is available. Read the... Read more
Ten GCC optimization flags that must be known
The GCC provides the capability to generate optimized compiled code. When you are running gcc to compile your code you can choose between a large number of optimization levels using the following switches: This is a preview of Ten... Read more
How to take a screen shot of the iphone display
Since iOS 2.x the iPhone operating system comes with the capability to take screen shots from the current running application. This feature sometimes can be very useful, but the gesture to take the screen shots is very simple but... Read more
How to create a ramdisk on Mac OS X Snow Leopard
From the wikipedia "A RAM disk or RAM drive is a block of RAM that a computer's software is treating as if the memory were a disk drive. …. …. …. This is a preview of How to create... Read moreSep
22
2011
nglogc a flexible C logging API
nglogc is a flexible C logging API, it is released under the LGPL license. The author, Dennis Krzyzaniak, has released a full detailed manual. In the following lines, the first two paragraphs from the manual, just to understand something... Read moreSep
07
2011
UNIX Shared Memories
SHARED MEMORY Shared Memory is an efficient way to pass data between programs. One program creates a shared memory that can be accessed by other processes. A process creates a shared memory segment using shmget(). The original owner of... Read moreJul
11
2011
Function pointers in C
In C A function pointer is a type of pointer. When dereferenced, a function pointer can be used to invoke a function and pass it arguments just like a normal function. Function pointers can be used to simplify code... Read moreJul
02
2011
Rapid PCB prototyping (Semi-professional PCB)
Sometimes you could have the need of PCB to build a prototype. You can ask a manifacturer, but if your PCB is simple this solution could cost too much and, also, it can take too much time. I used... Read more
Two interesting news from Apple and Google
Apple iOS 5 and Xcode 4.2 iOS 5 has been released, it includes over 200 new user features, and an updated SDK with over 1,500 new APIs and powerful new development tools. Registered developers can download the SDK and... Read moreJun
06
2011
How to convert a NSInteger to a binary string
I've seen a lot of question on the internet about this topic. Here it is my preferred solution: NSInteger theNumber = 56; // setup here your value…. NSMutableString *str = ; for(NSInteger numberCopy = theNumber; numberCopy... Read moreJun
03
2011
How to setup __MyCompanyName__ in Xcode
By default, Xcode inserts a company name something similar to the following in all new source files (.m .h etc): Copyright (c) 2011 __MyCompanyName__. All rights reserved. This is a preview of How to setup __MyCompanyName__ in Xcode.... Read moreMay
23
2011
The Zigbee revealed – 1 Introduction
This is the first article of a short serie about the zig bee: from the wikipedia (http://en.wikipedia.org/wiki/ZigBee): This is a preview of The Zigbee revealed – 1 Introduction. Read the full post (561 words, estimated 2:15 mins reading time) Read more
How to install Midnight Commander on Snow Leopard
GNU Midnight Commander is a user-friendly yet powerful file manager and visual shell, useful to novice and guru alike. It provides a clear, user-friendly, and somewhat protected interface to a Unix system while making many frequent file operations more... Read more
Piccoletta: a USB developer board for PIC’s – The BootLoader
BASIC INFO We are going to describe how to build the bootloader for the PIC18f2550 used in our board PICCOLETTA. To do this job we will use the C compiler from Microchip (the lite version). This is a preview... Read moreMay
01
2011
Piccoletta: a USB developer board for PIC’s – Layout and application scheme
INTERFACE LAYOUT – top side The top side of the board is shown in the next picture: You can see three Jumpers: Power supply selection Boot loader selection ICSP programming interface Last, you can find the Test Input PIN,... Read moreApr
28
2011
Piccoletta: a USB developer board for PIC’s – Description
Wellcome to the 2nd article about Piccoletta, our developer board for PIC's. Description This device can be used to develop a big range of different applications. For example, enclosed into a dongle box it can be used for: Security Key Dongle... Read moreApr
25
2011
Piccoletta: a USB developer board for PIC’s – Characteristics
Piccoletta is a PIC developer board in a dongle key format. It has been completely designed and assembled in Italy by our team: Il Gatto La Volpe Lucignolo Characteristics: Power supply can be selected, useing a jumper) between the... Read moreApr
22
2011

