On 20 June 2012 02:13, Andries Tip wrote: > Finally, I ended up writing the code myself (see below) and was wondering > if a C compiler would > produce the same (or better) code. > Hope not opening a war here, but C is definitely not for generating smaller or faster or better code. It just increases the abstract layer so you can concentrate on the algorithm more as opposed to the implementation itself. In other words you can develop something in a shorter time with less possibilities of errors. Also it is more likely you can find a library on the net for something you would need, for example a FIR or IIR, so you do not need to reinvent the wheel. Tamas --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .