FMUSER Wirless Transmit Video And Audio More Easier !

[email protected] WhatsApp +8618078869184
Language

    24c02 read and write procedures (already tested), 24C02 read / write process

     

    24C02 read and write program (test), 24c02 Read / Write Process Keywords: 24c02 reading and writing program (already tested) 24C02 read and write programs (have passed test) 24C02 read and write programs (pass test) #1ndef _24c02_h # define _24c02_h // Foot definition SBIT SCL = P3 ^ 7; // 24c02 SCLSbit SDA = P3 ^ 6; // 24c02 SDA // function VOID X24C02_DELAY (char X) {INT i; for (i = 0; I} void x24c02_start () {SDA = 1; SCL = 1; SDA = 0; SCL = 0;} VOID X24C02_Stop () {SDA = 0; SCL = 1; SDA = 1 } void x24c02_writex (char J) {char I, TEMP; TEMP = J; for (i = 0; I<8; i ++) {temp = TEMP<<1; SCL = 0; sda = cy; SCL = 1;} SCL = 0; SDA = 1;} char x24c02_readx () {char i, j, k = 0; SCL = 0; SDA = 1; for (i = 0; I<8; i ++) {SCL = 1 ; if (SDA == 1) j = 1; ELSE J = 0; k = (k<<1) | J; SCL = 0;} return (k);} void x24c02_clock () {char i = 0 ; SCL = 1; While ((SDA == 1) && (i<255)) i ++; SCL = 0;} void x24c02_init () {SCL = 1; sda = 1;} char x24c02_read (char address) {char i ; x24c02_start (); x24c02_writex (0xa0); x24c02_clock (); x24c02_writex (address); x24c02_clock (); x24c02_start (); x24c02_writex (0xa1); x24c02_clock (); i = x24c02_readx (); x24c02_stop (); x24c02_delay (10) RETURN (I);} Void x24c02_write (char address, char info) {EA = 0; X24C02_Start (); x24c02_writex (0xA0); x24c02_clock (); x24c02_writex (address); x24c02_c lock (); x24c02_writex (info); x24c02_clock (); x24c02_stop (); EA = 1; x24c02_delay (50);} void x24c02_writestr (char address, unsigned char * wdata, unsigned char wlen) {unsigned char k = 0; do {x24c02_write (address + k, * (wdata + k)); k ++;} while (k < Wlen);} void x24c02_readstr (char address, unsigned char * rDATA, UNSIGNED Char rlen) {Unsigned char k = 0; Do {RDATA [K] = X24C02_Read (Address + K); K ++;} while (k < rlen);} # Endif, read full text

     

     

     

     

    List all Question

    Nickname

    Email

    Questions

    Our other product:

    Professional FM Radio Station Equipment Package

     



     

    Hotel IPTV Solution

     


      Enter email  to get a surprise

      fmuser.org

      es.fmuser.org
      it.fmuser.org
      fr.fmuser.org
      de.fmuser.org
      af.fmuser.org ->Afrikaans
      sq.fmuser.org ->Albanian
      ar.fmuser.org ->Arabic
      hy.fmuser.org ->Armenian
      az.fmuser.org ->Azerbaijani
      eu.fmuser.org ->Basque
      be.fmuser.org ->Belarusian
      bg.fmuser.org ->Bulgarian
      ca.fmuser.org ->Catalan
      zh-CN.fmuser.org ->Chinese (Simplified)
      zh-TW.fmuser.org ->Chinese (Traditional)
      hr.fmuser.org ->Croatian
      cs.fmuser.org ->Czech
      da.fmuser.org ->Danish
      nl.fmuser.org ->Dutch
      et.fmuser.org ->Estonian
      tl.fmuser.org ->Filipino
      fi.fmuser.org ->Finnish
      fr.fmuser.org ->French
      gl.fmuser.org ->Galician
      ka.fmuser.org ->Georgian
      de.fmuser.org ->German
      el.fmuser.org ->Greek
      ht.fmuser.org ->Haitian Creole
      iw.fmuser.org ->Hebrew
      hi.fmuser.org ->Hindi
      hu.fmuser.org ->Hungarian
      is.fmuser.org ->Icelandic
      id.fmuser.org ->Indonesian
      ga.fmuser.org ->Irish
      it.fmuser.org ->Italian
      ja.fmuser.org ->Japanese
      ko.fmuser.org ->Korean
      lv.fmuser.org ->Latvian
      lt.fmuser.org ->Lithuanian
      mk.fmuser.org ->Macedonian
      ms.fmuser.org ->Malay
      mt.fmuser.org ->Maltese
      no.fmuser.org ->Norwegian
      fa.fmuser.org ->Persian
      pl.fmuser.org ->Polish
      pt.fmuser.org ->Portuguese
      ro.fmuser.org ->Romanian
      ru.fmuser.org ->Russian
      sr.fmuser.org ->Serbian
      sk.fmuser.org ->Slovak
      sl.fmuser.org ->Slovenian
      es.fmuser.org ->Spanish
      sw.fmuser.org ->Swahili
      sv.fmuser.org ->Swedish
      th.fmuser.org ->Thai
      tr.fmuser.org ->Turkish
      uk.fmuser.org ->Ukrainian
      ur.fmuser.org ->Urdu
      vi.fmuser.org ->Vietnamese
      cy.fmuser.org ->Welsh
      yi.fmuser.org ->Yiddish

       
  •  

    FMUSER Wirless Transmit Video And Audio More Easier !

  • Contact

    Address:
    No.305 Room HuiLan Building No.273 Huanpu Road Guangzhou China 510620

    E-mail:
    [email protected]

    Tel / WhatApps:
    +8618078869184

  • Categories

  • Newsletter

    FIRST OR FULL NAME

    E-mail

  • paypal solution  Western UnionBank OF China
    E-mail:[email protected]   WhatsApp:+8618078869184   Skype:sky198710021 Chat with me
    Copyright 2006-2020 Powered By www.fmuser.org

    Contact Us