Note: These librarys are entirely built by people just like you who have decided to share what they have written... please consider placeing the code that you are proud of on these pages (see the login link below) and, if you use code from this site, it might be good to say thanks to and credit the author.
See also:
http://www.xcprod.com/gaea/web_demo.html XCASM - high level assembler (part of the ZMech CASE tool). Although a commercial product, the demo page allows you to enter your own complex expressions and generate optimised executable machine code from them. Should be of value to less experienced PICers.
Please post questions to the Questions page
Questions:
G'day James, Thank you for maintaining {this site}. Owing to the pathetic performance of the internet in outback Australia, and the high cost of access time, I felt it was appropriate to try to grab a few pages from your web site using a semi-automatic page grabber. For local use by me only.Your code detected my attempt and stopped me (well done!)... it offered me a way out if I wasn't going to "copy" ... did you mean copy and redistribute? Can I have your permission to create a local cache for my use? Do you perchance have this as a single file, or should I use a grabber but avoid a trigger URL? ...
James Newton replied:
I have no problem with your doing a File / Save-as or a Copy / Paste to save something interesting on your machine. I would hope that if you make something good yourself, you would offer to post it back to the site in return.I just object to the automated, indiscriminate copying of the site. A page grabber doesn't only download what you are interested in, it takes everything. It wastes your connection time, my bandwidth and ability to serve other pages quickly to other users. They are also used to produce copies of sites for sale (or to attract people for advertising purposes) which is NOT what the authors of the site content intended in return for their work.
It's not so much about money as it is about keeping the content OUT of commercial use and not clogging up the server with automated site grabbing traffic.
I don't copy things from other peoples sites without asking permission and/or offering something in return. Sharing is a two way street.
If you have contributed to the site, please feel free to copy as much as you like but do respect the needs of others and keep the copying slow and careful.
I want to take a microphone's input, convert it to digital, and put it out on a 4-segment bargraph, but not as straight binary. I want it to actually act like a bargraph, so a low level would be the first light in the row lit, a little higher would light the first two, etc. How can I convert the analog-to-digital output into such a form on a PIC16F628? Thanks.
James Newton replies: See the A2D section under Input / Output above for code to capture the mic output as digital numbers. Next you will need to look at an averageing filter under filters in the Math / Functions / Conversions area above. This will produce an average value. Finally, convert the average to a bit mask with a routine from the Bit operations section of Math / Functions / Conversions.+
G'day,I am lokking for source code for picf877's as midi drum controllers.Any advice on this subject would be hugely appreciated.I run a small non profit music studio in Sydney for the purpose of teaching music to underprivelidged kids,And have assembled a rudimentary drum controller from downloaded schematics.Unfortunately none of the source code works.Can you offer any help/advice? I am more than happy to share any new discoveries on this subject with you,Thanks.
James Newton replies: See: General Midi IO for a link to some PIC Midi Output code.+
Interested:
Comments:
See:
Questions:
http://www.c4gen.com/index.html?id=ppmacros The PPMacros (Pic Programming Macros) will make programming of microchip PIC controllers with the MPASM assembler and the MPLAB IDE much easier and faster. These 288 macros (and 321 aliases) include for-next loops, repeat-until loops, if-then constructions, 8, 16, 32 bits variables, indirect addressing and mathematical macros (add, substract, multiply, divide and remainder). These macros are open source and open format. Read the FAQ (http://www.c4gen.com/index.html?id=ppm_faq) for more info.+
Suitable for the following categories in "PIC Micro Controller ASM Language Routine Library":
- Math / Functions / Conversions
- Conditionals / Program flow
- Memory / Tables / Data
Comments:
EXCELLENT SITE! Pages are good as a Reference for PIC MC
Working on a Project with code and Hardware..Keep Up the
excellent work. Thank you! for You Helpful Software
file: /Techref/microchip/routines.htm, 15KB, , updated: 2020/2/15 21:23, local time: 2024/11/21 06:38,
owner: EFJ-IU-F68,
3.139.98.10:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://ecomorder.com/techref/microchip/routines.htm"> MPASM, PIC C code, Microchip PIC</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to ecomorder.com! |
.