This is tremendous input and great to see what others think. I really would like to see the symbol names standardized, that one thing is going to be so important for new users, which is where my mind is. So yes eventually it would be good to determine what names to use and have them included in an "official" Parallax header. The inline functions look very good, I need to study them a little closer. I also think the header I am creating as I go is suitable for what we are trying to achieve in the PEK Labs, the lesson is in creating a header, once learnt the header can always be substituted at a future time. I take on board the usage of #define, look at my next copy of "myheader.h" and keep an eye on me.It made me feel good to see _OUTA ^= (1<<pin), that is exactly what I had in mind.
I have just posted Primer part 3 , our C programming is now growing into something useful and interesting. In 3 I have covered in small parts:- variable declaration and scope, the for loop, function calls, functions with parameters and function prototypes. I will probably let it rest there for now. Have fun and enjoy.
Jeff T.
@jazzed , there is a post on the forum of Programmers Notepad that describes bringing up a terminal with a hot key.
Comments
Jeff T.
Jeff T.
@jazzed , there is a post on the forum of Programmers Notepad that describes bringing up a terminal with a hot key.