Page 2 of 2

Re: Need help in programming

PostPosted: Thu Mar 29, 2012 4:12 pm
by Suria
send_config(0b00000001); //clear display at lcd

(0b00000001) = apa ertinya?

Re: Need help in programming

PostPosted: Thu Mar 29, 2012 4:26 pm
by shahrul
Suria WROTE:PIC16F876A is an EEPROM right? ahhaha :D

don't worry, saya org melayu :D

Yes, I know. Here open forum, better use English Language..

Re: Need help in programming

PostPosted: Thu Mar 29, 2012 4:36 pm
by Idris
suria WROTE:what does this code mean? help :( school project due in 3 days~~

This is school project right? So advanced! Even degree level not do this project. I think if you can understand basic of programming is enough.

Re: Need help in programming

PostPosted: Thu Mar 29, 2012 4:38 pm
by shahrul
Suria WROTE:send_config(0b00000001); //clear display at lcd

(0b00000001) = apa ertinya?

This you need to refer LCD datasheet.
You can refer here, LCD Lesson.
See in the simple note LCD instruction, the code 0b00000001; is to clear LCD display. Also, you can see other config.

Re: Need help in programming

PostPosted: Sat Mar 31, 2012 9:51 am
by Suria
Idris WROTE:
suria WROTE:what does this code mean? help :( school project due in 3 days~~

This is school project right? So advanced! Even degree level not do this project. I think if you can understand basic of programming is enough.


yeah, we're in college. but low level college. but we have learn this all the USART and UART stuff. the basic programming is already tho. i didn't have any problem with that :D

Re: Need help in programming

PostPosted: Sat Mar 31, 2012 9:54 am
by Suria
shahrul WROTE:
Suria WROTE:send_config(0b00000001); //clear display at lcd

(0b00000001) = apa ertinya?

This you need to refer LCD datasheet.
You can refer here, LCD Lesson.
See in the simple note LCD instruction, the code 0b00000001; is to clear LCD display. Also, you can see other config.


Thanks shahrul. i've visited ur site. nice site :D *thumbs up*

Re: Need help in programming

PostPosted: Wed Jun 06, 2012 10:11 pm
by askalee
hi expert,

Anyone know how to share SPI Clock and I2C Clock in "RC3/SCK/SCL" pin.

Helpsss~

Thanks in advance

Re: Need help in programming

PostPosted: Fri Jan 04, 2013 8:12 am
by shahrul
askalee WROTE:hi expert,

Anyone know how to share SPI Clock and I2C Clock in "RC3/SCK/SCL" pin.

Helpsss~

Thanks in advance

I never share SPI and I2C at the same pin. Normally I use that pin for I2C and I use any pin to make SPI Software.