This Forum is Dedicated For all The Object Oriented PIC Lovers .......... The concept behind OOPic is straight forward. Use preprogrammed multitasking Objects from a library of highly optimized Objects to do all the work of interacting with the hardware. Then write small scripts in Basic, C, or Java syntax styles to control the Objects. During operation, the Objects run continuously and simultaneously in the background while the scripts run in the foreground telling the objects what to do.

Tuesday, December 11, 2007

[oopic] Re: Controll RFID module over I2C bus

okay lets ignore the previous code and work at one problem at a time.
Say i want to replicate code like the example i posted in the first
part of my post. With start signal, address,length,command,stop. Can i
just use simple layout like
i2c.value=ff *what variable type goes here? should i send it as 255?
i2c.value=00 *FF 00 is the start sequence for the RFID module it seem
i2c.value=42 *developer for i2c stated address is 42 but with 7bit
addressing mode you shifted right so 84 for write and 85 for read
i2c.value=81 *get firmware command
i2c.value=82 *checksum

places where it confuse me is PicMicro state the address of the slave
during the transmission sequence. OOpic seem to do this in the i2c.node


Yahoo! Groups Links

<*> To visit your group on the web, go to:

http://groups.yahoo.com/group/oopic/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:

http://groups.yahoo.com/group/oopic/join

(Yahoo! ID required)

<*> To change settings via email:
mailto:oopic-digest@yahoogroups.com
mailto:oopic-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
oopic-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:

http://docs.yahoo.com/info/terms/

No comments: