Picbasic Pro Compiler 3 0 Crack
понедельник 18 февраля admin 11
As for USB, I spent 9 months reading the PBP USB related material, MicroChip's related Application Notes & Technical Bulletins, as well as Jan Axelson's USB Book. I breadboarded numerous attempts with numerous versions of software. I came to the conclusion the only way to implement USB was to spend the $400 and purchase HIDMaker software. I did, and I am finally communicating with USB. Be forewarned, even when you can get a PIC to talk to a PC via USB, you still need to create a PC side program to interpolate & display your processor's data, as well as transmit PC-to-PIC programming data.
I am using Visual Studio 2015; specifically Visual Basic (Part of the Visual Studio Suite). USB isn't a simple Special Function, it is a giant project all by itself. If you are determined to use USB, save yourself a bunch of trouble; buy HIDMaker software, buy Jan Axelson's USB Complete book, buy Visual Studio 2015, and buy Murach's Visual Basic 2015. I happen to be Hell bent on using USB, and this is the path I traveled.
I spent time & money on additional materials that weren't worth mentioning as well. You may be able to get there cheaper than I did, but I share my story. I create electronic controls as part of my day job.
Since laptop computers haven't had DB9 Serial communication ports in several years, designing a product to talk with a laptop requires modern USB.
Component to component communications, USART is preferred, but some components (like digital pots) use SPI and I2C (and sometimes communications protocols of their own design). If I want to have a PIC18F26K22 talk to a PIC16F1824, I can select from the ready-made comm options. Furthermore, I can create my own protocol; how long is a packet? What is in the first byte? And so forth. With USB, EVERYTHING is predefine except for the actual data being transferred. Get one thing wrong and it just doesn't work.
There's no error code to tell you what you did wrong, it just won't enumerate, or communicate if you do have the handshake part right. I'm not trying to discourage you. I just don't want you to get discouraged. If you know going in that USB is going to take some serious effort, hopefully you won't get frustrated when it doesn't work the 3rd time. If you have good reason to need USB, then at least buy Jan Axelson's 'Complete USB, Fifth Edition' so you have something to refer to while you learn.
Microchip introduced the PIC16F16XX processors about 2 years ago. It includes a Function called Angular Timer. There is an Application Note AN1980 that deals with utilizing many of the features found in the PIC16F1615/9 to design a Capacitive Discharge Ignition (CDI) system. I'm trying to accomplish something akin to the AN1980 guide. I've been fighting just trying to get response in Single Pulse Mode. Has anyone successfully dealt with the Angular Timer, and if so, could you please post your Special Function Registers dealing with AT? Added info; I used a PIC12F1501 to generate a 2.3 ms pulse every 12.3 milliseconds that becomes the 'Coil Trigger' to the 16F.
Lil( ~ tYie 'If) go back onlid Cti!.r h~Jin, '0 H';'~:S~,'~ H;d; n. Jh rv ~ c ivered hh; iii ~Ylcm; (1ft:!' Ous cohln'Ii. PICBASIC or PICBASIC PRO compilers, you can use the. If you have the full version of PICBASIC.
I'm using an LED in the AT_INT routine of the 16F to let me know if the PC even gets to the Interrupt Routine. It occasionally does, but not consistently. That's frustrating.
I tried dozens of different configurations of code. That's why I'm asking if anyone has done it. Thanks for any help in advance. I messed with it for another day and got an output that realistically represents the input.
I'm trying to alter the CCY value with a pot (ADC input). When it first starts up, it reads AT1CC1L, which is the degrees trigger register. (There is an AT1CC1H and AT1CC1L register, but my resolution is set at 120 degrees, which fits in the _L register. AT1CC1H = 0.) The output represents the value of the pot in relationship to the Input when it starts.
When I alter the pot value and write that to AT1CC1L, it doesn't respond. If I power down, change the pot setting, then power up again, the output reflects the new pot value; but again, I can't alter it once set. The Main routine is just a DO: read pot value, load it into AT1CC1L, loop. (Actually, I'm scaling the pot value a bit, which is working out perfectly when it takes the initial read.) It may be nobody has taken any time with this Angular Timer feature and I'm pioneering.
