Research for my current project has pointed me to many C coding examples. I didn't quite understand it at first but the multiple files for one program is a great idea and I wanted to create the same for PBP. I searched on here and found some threads that discussed it. Took me a couple of tries but it works great. In fact, I'm on an include overload as I've separated many subroutines and put them in include files. It's the best thing I've learned for PBP in quite a while and for anyone who hasn't tried it I highly suggest it, especially if your code is quite long. Scrolling up and down to find a certain spot in your code can get to be a real hassle but the include file solves it perfectly.
I'm not sure if this is possible but I need to ask this question. Is there any way to put the include files in a folder other than PBP? Putting them into other folders would be awesome but I wasn't able to figure that part out, if it's possible. Still using 2.50B.
My other question is regarding a serial LCD and a USB program that uses VB6. Each of them works but when I put the serout2 command into the code the USB will no longer recognize the device. I've tried sprinkling usbservice commands into my code but that doesn't help. Besides, I can't see a serout2 command taking a ton of time to execute. It seems to me this shouldn't be and there's a problem in my code but I don't understand why it's not working. It would be nice if my customers had a seamless transition (i.e. hot plugging) between using a laptop and using the LCD screen. Anyone have experience with something like this or heard of a similar issue.
Bookmarks