![]() | ![]() | ![]() |
| | |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| I'm using PIC for my tech project, right, and it's really annoying me...I had five proceedures but that was 270% of the memory...i got rid of the only two I can (also the largest two) so my project still kinda works as I want but it's 112% of the effing memory...girl in serious need of help here...
__________________ Two Sides...Four Children to end it all......An Endless War... Welcome to the world of the Elementalists Go here to enter | |
| |
| | (permalink) | |
| Quote:
Like to help, but we need more input! Whats the project, whats the PIC type What language do you write your programs with?
__________________ Eric "Good enough is Perfect" PIC tutorials: Gramo's: www.digital-diy.net/ Bill's: www.blueroomelectronics.com/ | ||
| |
| | (permalink) |
| LOL, You write bad code or your project is far too ambitious. How do you know your finished code takes 270% of the memory? You just wrote all of it and expected it to work? Post some more information and we may be able to help. Mike. | |
| |
| | (permalink) |
| i know it took up 270% coz the memory bar in the corner told me so. Ask my school what the eff I'm using...and as far as I can tell, I'm writing in English... (PIC Logicator or some sh*t like that)
__________________ Two Sides...Four Children to end it all......An Endless War... Welcome to the world of the Elementalists Go here to enter | |
| |
| | (permalink) | |
| Quote:
__________________ Eric "Good enough is Perfect" PIC tutorials: Gramo's: www.digital-diy.net/ Bill's: www.blueroomelectronics.com/ | ||
| |
| | (permalink) |
| I know you will fail coz the writing above told me so. LOL. Mike. | |
| |
| | (permalink) |
| I'm using English as well. Anyone uses machine code directly?
__________________ Superman returns.. | |
| |
| | (permalink) |
| The OP mentioned PIC Logicator. Did some digging and found http://www.fischertechnik.com/html/Economatics.htm If I understand it right the user draws a flowchart and the Logicator software generates code. Computer generated code could use up a lot of memory. The OP should direct his ill will at the Logicator software rather then the PIC or PICAX... EDIT: Could also be that the instructor used a quick start tool. Students are running without knowing how to walk. Last edited by 3v0; 1st November 2007 at 06:42 PM. | |
| |
| | (permalink) |
| In the many years I've been using PICs I've found that almost without exception (and always read the Microchip Errata sheets) that anytime a PIC program crashed or was simply unreliable was because of some I did wrong. A well designed PIC device will pretty much run forever, I had an old 16C54 running continuously for years. | |
| |
| | (permalink) |
| I wish I could program the pic in english - it would be much simpler Line 1: Write hello world to the lcd | |
| |
| | (permalink) | |
| Quote:
| ||
| |
| | (permalink) |
| Actually, high level language like PIC C or PIC BASIC is very much like English isn't it?
__________________ May the force be with you. My project: Simple White Line Follower http://au.youtube.com/watch?v=8Z_MmrdH4oc http://i271.photobucket.com/albums/j...nefollower.jpg | |
| |
| | (permalink) |
| Even a simple nop is No OPeration, that is English too
__________________ Superman returns.. | |
| |
| | (permalink) |
| gregmcc: You can for its call MACRO. Hanxa: Microcontroller Code overflow is no different than the overflow of anything else in the world. Its not a leakage. Its a spill. Leakages are the fault of the container. Spills are the fault of the fillers. If 4K, 8K, 16K, 32K, or 64K does not suffice, time to break down an communicate with your chip at the chip level which is magnitudes of order and ever increasingly more efficient and compact than the programmers level. Speaking in the collective conscious of the PIC spirit: "I wish these humans would stop and look before just haphazardly dumping crap down our throats" - Collective PIC Spirit. | |
| |
| | (permalink) | |
| Quote:
Yes people write is assembly. All the time. A lot of people write C. Hint: Using float type is outrageously slow and makes the code larger. And virtually nobody needs it, even though all the new guys think they do.
__________________ I thought what I'd do was I'd pretend I was one of those deaf-mutes. | ||
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| Best Pic Basic Compiler ... | simrantogether | Micro Controllers | 12 | 29th October 2007 08:52 AM |
| High ADC sampling rate PIC, 18F needed? | bananasiong | Micro Controllers | 24 | 28th October 2007 01:13 PM |
| Battery Tester with a PIC 16F818 Cicuit Question | dmarciano | Micro Controllers | 1 | 9th October 2007 05:41 AM |
| Battery Tester with a PIC 16F818 Cicuit Question | dmarciano | Micro Controllers | 1 | 9th October 2007 04:55 AM |
| Four PIC with One LCD.. | meera83 | Micro Controllers | 13 | 20th September 2007 07:40 AM |