Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Purchase a PICKit2 and purchase the PICKit2 plus software it has support for that PIC.
That's what I'm using right now, it will automatically reload the HEX file if its updated to.
https://www.piccircuit.com/shop/software/202-243-pickit2-plus.html
I believe an additional line of will insure the bit 6 is properly set and the code has been tested and works.
case 1: hour= BCD2Binary(hour);
if(!plus_button)hour+= 1;
hour =Binary2BCD(hour)...
I use a low noise op amp in the phono stages I build,and it would work great with this application, I would go with the AD797, its an expensive op amp, but will give you very low noise and distortion figures.
My code will need to be changed if the hour is decremented of course.
1697807264
It is difficult to interpret
1697807397
As long as one remembers to reset bit 6 and 5 for every hour change, when incrementing or decrementing.
I couldn't post a link to some code , but it can be found at electrosome dot com.
Some have used this code in programming a ds1307 with PIC, and I decided to port it to XC8, but it wasn't working in 12 hour time, bit 6 wasn't properly set and bit 5 toggles were wrong, the below code properly...
I want to apologize, it is mostly my fault for posting this question, which I should have already known the answer. Most of the code I have seen that use adjustable time editing on RTC chips, toggle bit 5 at 1:00PM, particularly the code I was looking at, and that is where the problems begin, AM...
I simply asked if the bit toggles automatically Here is the line of code that flips the bit
hour = hour ^ 0x20;
the code flips the bit during editing but, in run mode nothing happens to bit 5.
There are at least two datasheets out there you want me to choose?????
Don't know if its been asked, but the question is does bit 5 in the hour register toggle automatically when bit 6 is set and the chip is in 12 hour mode the datasheet doesn't say for sure, I have working code, and the clock is working in 12 hour mode, but the AM/PM isnt toggling every 12 hours...
Ive just recently started working with RF modules , and there are many variaties. A lot of superregenerative types mostly, and for them the timing is critical for both the range and consistent AGC lock. Ive heard that Manchester coding would be best. So to be more specific, would SIRC timing...
Apologies, I mostly work the PIC12 family, and some PIC16 for some of my products. I have some include files that have alot of #defines for my ASM firmware that makes migrating back and forth really easy, Ive worked with a gentleman in the UK that helped me out.
Ive been working with MCC some, Im still trying to get a handle on the features and setup, Thanks
I used CCS a few years ago to do a few projects, The performance of the chip suffers, I would just as soon as do something in ASM, than work with CCS code!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.