Need help in programming

LED Blinking, Walking with Cytron Servo, Displaying RFID, Multi-function Mobile Robot......

Re: Need help in programming

Postby Suria » Thu Mar 29, 2012 4:12 pm

send_config(0b00000001); //clear display at lcd

(0b00000001) = apa ertinya?
Suria
Novice
 
Posts: 24
Joined: Sat Dec 31, 2011 11:21 am

Re: Need help in programming

Postby shahrul » Thu Mar 29, 2012 4:26 pm

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..
User avatar
shahrul
Professional
 
Posts: 812
Joined: Sat May 16, 2009 9:54 pm
Location: Selangor

Re: Need help in programming

Postby Idris » Thu Mar 29, 2012 4:36 pm

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.
Cytron Technologies invest time and resources providing tutorial, training and support for STEM education and maker movement. We need your support by purchasing products from Cytron Technologies. Thanks.
http://www.cytron.com.my
User avatar
Idris
Moderator
 
Posts: 379
Joined: Thu Mar 22, 2012 5:28 pm
Location: Pulau Pinang

Re: Need help in programming

Postby shahrul » Thu Mar 29, 2012 4:38 pm

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.
User avatar
shahrul
Professional
 
Posts: 812
Joined: Sat May 16, 2009 9:54 pm
Location: Selangor

Re: Need help in programming

Postby Suria » Sat Mar 31, 2012 9:51 am

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
Suria
Novice
 
Posts: 24
Joined: Sat Dec 31, 2011 11:21 am

Re: Need help in programming

Postby Suria » Sat Mar 31, 2012 9:54 am

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*
Suria
Novice
 
Posts: 24
Joined: Sat Dec 31, 2011 11:21 am

Re: Need help in programming

Postby askalee » Wed Jun 06, 2012 10:11 pm

hi expert,

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

Helpsss~

Thanks in advance
askalee
Freshie
 
Posts: 4
Joined: Wed Jun 06, 2012 1:15 pm

Re: Need help in programming

Postby shahrul » Fri Jan 04, 2013 8:12 am

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.
User avatar
shahrul
Professional
 
Posts: 812
Joined: Sat May 16, 2009 9:54 pm
Location: Selangor

Previous

Return to DIY Project Set

Who is online

Users browsing this forum: No registered users and 13 guests

cron