Philippine Electronics Forum
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
Philippine Electronics Forum
»
Digital Electronics
»
Microcontroller/Microprocessor Unit Projects and Programming
(Moderators:
edaph
,
marcelino
) »
pic based exposure box, my 1st project,
« previous
next »
Print
Pages:
1
[
2
]
Go Down
Author
Topic: pic based exposure box, my 1st project, (Read 1649 times)
n0th1n6
Diesel Generator
Posts: 1986
Pogi/Ganda Points: 62
Re: pic based exposure box, my 1st project,
«
Reply #20 on:
December 31, 2011, 08:43:45 PM »
Oo nga po, sangkatutak na error po yan kahit sa comments kas ang comment ng basic ay ' samantalang // or /**/ naman sa C. Subukan nyo po yung sample code para sa MikroC. Meron din kasing MikroBasic from same company so meron talagang sample code for basic dun sa website nya
Logged
Philippine Electronics Forum
Re: pic based exposure box, my 1st project,
«
Reply #20 on:
December 31, 2011, 08:43:45 PM »
customer_9
Size AAA Battery
Posts: 76
Pogi/Ganda Points: 2
Re: pic based exposure box, my 1st project,
«
Reply #21 on:
December 31, 2011, 10:20:18 PM »
@picuser, opo gumagana siya yun code sample for lcd
/*
* Project name:
Lcd_Test (Simple demonstration of the LCD Library functions)
* Copyright:
(c) Mikroelektronika, 2005.
* Description:
This is a simple demonstration of LCD library functions. LCD is first
initialized (PORTB, 4-bit data interface, default pin settings), then some
text is written at the first row.
* Test configuration:
MCU: PIC16F877A
Dev.Board: EasyPIC3
Oscillator: HS, 08.0000 MHz
Ext. Modules: LCD 2x16
SW: mikroC v5.0
* NOTES:
None.
*/
char *text = "mikroElektronika";
void main() {
LCD_Init(&PORTB); // Initialize LCD connected to PORTB
LCD_Cmd(LCD_CLEAR); // Clear display
LCD_Cmd(LCD_CURSOR_OFF); // Turn cursor off
LCD_Out(1,1, text); // Print text to LCD, 2nd row, 1st column
Delay_ms(1000);
LCD_Out(2,6,"mikroE");
}//~!
@dummy_c anu po yun tinutukoy neo? yun sinasabi din ni sir picuser? yun code po okay (yun asa taas yan po yun mula sa example folder) nag cocompile kaso mahirap po intindihin yun code:((newbie pwede po paturo thanks po ng marami
@zrehtiek muka po. di ko po kasi malaman, yun pinagkunan ko is this one, pero muka nga kasi pic basic iba ata eto po yun link ww(dot)mikroe(dot)com/eng/chapters/view/77/pic-basic-book-chapter-4-examples/#c4v5
@ n0th1n6 ah muka nga same company i am trying yun for mikrobasic
dito ko po kinuha yun resources
ww(dot)mikroe(dot)com/eng/chapters/view/77/pic-basic-book-chapter-4-examples/#c4v5
sorry po kung ganyan pakipalitan na lang yun (dot) ng literal na . due to ayaw ako payagan ni forum magpost ng link
Logged
simple hobbyist
Philippine Electronics Forum
Re: pic based exposure box, my 1st project,
«
Reply #21 on:
December 31, 2011, 10:20:18 PM »
n0th1n6
Diesel Generator
Posts: 1986
Pogi/Ganda Points: 62
Re: pic based exposure box, my 1st project,
«
Reply #22 on:
December 31, 2011, 10:30:30 PM »
Hanapin mo na sample ay ung pang mikroc mismo para sakto sa gamit mong compiler
Logged
Philippine Electronics Forum
Re: pic based exposure box, my 1st project,
«
Reply #22 on:
December 31, 2011, 10:30:30 PM »
dummy_c
Diesel Generator
Posts: 1588
Pogi/Ganda Points: 162
Gender:
If I die 2nyt, 8's bcoz maimai is not at my side!
Re: pic based exposure box, my 1st project,
«
Reply #23 on:
December 31, 2011, 10:43:32 PM »
@TS, yah iyan po ang ibig ko sabihin.
Pero I think ibang version ang mikroC na gamit ko kasi hindi na supported ang "LCD_Init(&PORTB);" sa ginagamit ko.
Anyways continue mo lang yan. Good luck and Happy New Year.
Logged
The world's technology is always changing, no doubt about it, and I hope it’s a while yet before it impacts my ability to tinker.
Philippine Electronics Forum
Re: pic based exposure box, my 1st project,
«
Reply #23 on:
December 31, 2011, 10:43:32 PM »
customer_9
Size AAA Battery
Posts: 76
Pogi/Ganda Points: 2
Re: pic based exposure box, my 1st project,
«
Reply #24 on:
December 31, 2011, 10:52:03 PM »
thanks nothin6 ! ill update kung nakakita na ako
@dummy_c anu po gamit neo?ibig sabihin past dated na pala yun mikroc ko, pahingi naman!heheheh!:D
Logged
simple hobbyist
Philippine Electronics Forum
Re: pic based exposure box, my 1st project,
«
Reply #24 on:
December 31, 2011, 10:52:03 PM »
dummy_c
Diesel Generator
Posts: 1588
Pogi/Ganda Points: 162
Gender:
If I die 2nyt, 8's bcoz maimai is not at my side!
Re: pic based exposure box, my 1st project,
«
Reply #25 on:
January 01, 2012, 12:09:32 AM »
^Update ka lang sa website ng mikroE sir... Ver 4.60 yung gamit ko. I think ver 5.3 yung latest.
Try these sir,
http://www.mikroe.com/eng/downloads/get/29/mikroc_pro_pic_2011_v540_setup.zip
example projects,
http://www.mikroe.com/eng/downloads/get/1684/mikroc_pro_pic_examples.zip
Logged
The world's technology is always changing, no doubt about it, and I hope it’s a while yet before it impacts my ability to tinker.
PlCUSER
Diesel Generator
Posts: 1909
Pogi/Ganda Points: 153
Re: pic based exposure box, my 1st project,
«
Reply #26 on:
January 01, 2012, 01:04:33 AM »
after installing MikroC, go to Examples folder na lang. para siguradong tamang samples ang gagamitin mo with the mikroc version na meron ka.
Logged
n0th1n6
Diesel Generator
Posts: 1986
Pogi/Ganda Points: 62
Re: pic based exposure box, my 1st project,
«
Reply #27 on:
January 01, 2012, 07:48:23 AM »
Pwede mo ring basahin help file. Nandun naman docs ng mga libraries na available.
Logged
customer_9
Size AAA Battery
Posts: 76
Pogi/Ganda Points: 2
Re: pic based exposure box, my 1st project,
«
Reply #28 on:
January 01, 2012, 11:56:12 AM »
@picuser 5.4 po yun bingay neong link nainstall ko po. may mga sample yun syntax nea kailangan kong aralin, hehehe, ill update kong ma edit ko yun syntax for my simple project
@nothin6 uu nga mukang matgal pa etong project buoin kasi madaming library ata etong mikroc puro call na lang ata yun ginagwa nea.
thanks!
Logged
simple hobbyist
n0th1n6
Diesel Generator
Posts: 1986
Pogi/Ganda Points: 62
Re: pic based exposure box, my 1st project,
«
Reply #29 on:
January 01, 2012, 12:20:17 PM »
Goodluck sis. Pag nag fail sa una, try uli
. Video mo naman pag natapos.
Logged
customer_9
Size AAA Battery
Posts: 76
Pogi/Ganda Points: 2
Re: pic based exposure box, my 1st project,
«
Reply #30 on:
January 01, 2012, 01:02:44 PM »
@noth1ng6 try and try! thank you sa tulong, update ko toh lagi, yun progress ko. thanks a lot!
until now wala pa rin akong right to post , pics , links huhuhu. anu po ba dapat kong gawin?
Logged
simple hobbyist
PlCUSER
Diesel Generator
Posts: 1909
Pogi/Ganda Points: 153
Re: pic based exposure box, my 1st project,
«
Reply #31 on:
January 01, 2012, 01:55:21 PM »
si dummy_c ang nagbigay ng link.
compile blinking led sample from installed mikroc. or lcd sample. then burn it to your pic and run it. kapag may working hardware ka na. saka mo simulan pag aaral ng syntax.
Logged
n0th1n6
Diesel Generator
Posts: 1986
Pogi/Ganda Points: 62
Re: pic based exposure box, my 1st project,
«
Reply #32 on:
January 01, 2012, 02:17:53 PM »
Just post lang. Pag nakaipon ka ng posts sa technical thread makakapag post ka din ng link at pics
Logged
insomartin
Technical People
Nuclear Reactor
Posts: 4827
Pogi/Ganda Points: 320
Gender:
Nalulunod lang...
Re: pic based exposure box, my 1st project,
«
Reply #33 on:
January 01, 2012, 02:36:22 PM »
bakit sakin walang ganyan na errors?
Logged
https://www.facebook.com/LaredoHackerspace
http://laredohackerspace.blogspot.com/
FORUM RULES AND REGULATION
http://www.elab.ph/forum/index.php?topic=394.0
customer_9
Size AAA Battery
Posts: 76
Pogi/Ganda Points: 2
Re: pic based exposure box, my 1st project,
«
Reply #34 on:
January 01, 2012, 10:55:39 PM »
@picuser ganun po ba?okay yun po yun gagagwin ko , hehehe,double check ko rin po kay proteues kung tama h/w pag may problem pwede po ba mag ask? ehehehe
@noth1n6 ganun po ba sige yun po gagawin ko, kaso wala po ako mashare or matanong sa iba, kasi wala po akong idea talaga, hehehe, dito lang po ako makapag tanong kasi e2 pa lang nahahands on ko.
@insomartin anu po gamit neong compiler? sa settings po sa config bit?may gagalawin po ba doon?HS saka 20 mhz lang po kasi ginalaw ko.
Logged
simple hobbyist
Philippine Electronics Forum
Re: pic based exposure box, my 1st project,
«
Reply #34 on:
January 01, 2012, 10:55:39 PM »
Print
Pages:
1
[
2
]
Go Up
« previous
next »
Philippine Electronics Forum
»
Digital Electronics
»
Microcontroller/Microprocessor Unit Projects and Programming
(Moderators:
edaph
,
marcelino
) »
pic based exposure box, my 1st project,
Privacy Policy
Contact Us: elabph@yahoo.com