Managed to get some code written and displayed.
THANK YOU ALL FOR THE POINTERS
Bob
Managed to get some code written and displayed.
THANK YOU ALL FOR THE POINTERS
Bob
Awesome Bob!!
-Bert
The glass is not half full or half empty, Its twice as big as needed for the job!
http://foamcasualty.com/ - Warbird R/C scratch building with foam!
Now how about sharing it for humanity purpose![]()
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Hello BobW
About "your" MikroC Pro program ...
1) are you sure it has been written ( by you ???) for a '1827
2) did you create a project ??? ( the " module " error comes from here )
once " trimmed " it gives :
1198 ROM .... should compile fine with the demo version, no ???0 1 mikroCPIC1618.exe -MSF -DBG -pP16F1827 -DL -O11111114 -fo8 -N"C:\Program Files\Mikroelektronika\mikroC PRO for PIC\Examples\tEST.mcppi" -SP"C:\Program Files\Mikroelektronika\mikroC PRO for PIC\defs\" -SP"C:\Program Files\Mikroelektronika\mikroC PRO for PIC\Uses\P16_Enh\" -SP"C:\Program Files\Mikroelektronika\mikroC PRO for PIC\Examples\" "tEST.c" "__Lib_Math.mcl" "__Lib_MathDouble.mcl" "__Lib_System.mcl" "__Lib_Delays.mcl" "__Lib_ADC.mcl" "__Lib_LcdConsts.mcl" "__Lib_Lcd.mcl"
0 1139 Available RAM: 368 [bytes], Available ROM: 4096 [bytes]
0 126 All files Preprocessed in 50 ms
0 122 Compilation Started tEST.c
63 123 Compiled Successfully tEST.c
0 127 All files Compiled in 80 ms
0 1144 Used RAM (bytes): 63 (17%) Free RAM (bytes): 305 (83%) Used RAM (bytes): 63 (17%) Free RAM (bytes): 305 (83%)
0 1144 Used ROM (program words): 1198 (29%) Free ROM (program words): 2898 (71%) Used ROM (program words): 1198 (29%) Free ROM (program words): 2898 (71%)
0 125 Project Linked Successfully tEST.mcppi
0 128 Linked in 210 ms
0 129 Project 'tEST.mcppi' completed: 451 ms
0 103 Finished successfully: 30 janv. 2011, 18:02:00 tEST.mcppi
[HUMOUR ON]
How much with PBP ????
nooooooo .... not on the head !!!
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
With PBP, give or take a few:
Program Memory Words Used: 285
Program Memory Words Free: 3811
Give or take a little. So, about 7%, compared to MicroC's 29% used.
Now, this is not a fair comparison, because I don't know what MicroC's test program you are using, or what it does. PBP numbers are for just printing two variables to an LCD display.
Last edited by ScaleRobotics; - 30th January 2011 at 19:07.
Hoooooo ...Now, this is not a fair comparison, because I don't know what MicroC's program is doing
See #4
Program just reads voltage on ADC channel 2 , prints a text on line one of the LCD and prints the ADC voltage in V.VVV format on the second line ... of course with the Unit !
Comparison is not unfair at all as the shortest MkC Pro available way to display numbers is used here ...
you had also noted the LONG type use for "calculations" ... unavoidable with MkC.
I already made a comparison on this Forum and result was similar ...
PBP and Proton were quite the same for the result.
Alain
Last edited by Acetronics2; - 30th January 2011 at 19:15.
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks