PDA

View Full Version : ic2 write



jcleaver
- 20th January 2007, 16:47
trying to set up a clock program and cant find info on the "control" part of the command.
very limited info in pbp examples show $a0 used a program i found uses 0xa2
which gives a error message if i use any help here and where can i find
additional information on this

thanks for all your help

jcleaver
- 20th January 2007, 18:53
new i would have more questions
what is the number format 0x
does anybody have a clock program for the pbp

BobK
- 20th January 2007, 20:36
Hi,

Use the search feature. There have been several clock programs. 2 were posted in the Code Examples that use the timers in the PIC, Melanie's Olympic Timer, and there have been a few posts on using the RTC DS1337.

BobK

SteveB
- 20th January 2007, 20:41
$ and 0x are two different annotations for HEX. So,

$A0 = 0xA0

PBP recognizes $, not 0x annotation.

jcleaver
- 24th January 2007, 00:50
simple once you know the answer
thanks again