In SX Microcontrollers, SX/B Compiler and SX-Key Tool, g_daubach wrote: Some comments: The first versions of C were designed at pre-microcomputer times at Bell Labs, so the developers did not even think about microcomputers/controllers at that time. A long time ago, I was lucky to meet one of the first developers in Indiannapolis who did a very rudimentatry implementation of C for 8080/Z-80 based CP/M machines (ECO-C). Nevertheless, in the following years, C (and its successors, like C++, and C#) has been established as a programming language for various hardware platforms including PCs, microprocessors, and microcontrollers. The only problem is that C for one platform is not like C for another platform because of the diferent structure of such platforms. Doing a printf("Hello World"); on one platform my nicely display this text on the console, where trying this with C dedicated for a microcontroller will do something completely different, like sending the string as serial output - maybe, printf() is not even implemented at all. There are some C implementations for the SX available on the market but I must admit that I did not like any of those I had a look at, nore did I use them to generate any meaningful SX application. I think you won't be lucky finding a version with an SX-specific header file that allows you to port the C code for the CMUCam you have on an SX w/o heavy work on the existing code. Therefore, I think you are better off to analyze how your code handles the camera, and the interfacing and then try to port this into assembly code, or into SX/B code. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=91176#m91201 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)