[bascom] get data from one micro controller to another micro controller

Discussion in 'Embedded Systems and Microcontrollers' started by king40, May 5, 2014.

  1. king40

    Thread Starter Member

    Jul 17, 2013
    75
    0
    hi
    anybody have information about send and receive data between 2 micro controller with bascom programing language :rolleyes:
    thanks
     
    Last edited: May 7, 2014
  2. djsfantasi

    AAC Fanatic!

    Apr 11, 2010
    2,810
    834
    What microcontroller?
    What type of data?
    How much and how often?

    One way is to use serial communications between two devices and write your own protocol.

    Looks like Bascom supports 1-wire communications.
     
  3. king40

    Thread Starter Member

    Jul 17, 2013
    75
    0
    thanks for answer
    2 atmega 32 micro controller
    crystal 16MHz for 2 micro
    data type: long int like (12345) and max 5 digit
    one micro measure (measure type is int) and send to another micro
    thanks
     
  4. djsfantasi

    AAC Fanatic!

    Apr 11, 2010
    2,810
    834
    How often are you going to send this data?

    Did you review the bascom documentation and examples for 1-wire communications? You should and let us know if you understood them.
     
    king40 likes this.
  5. king40

    Thread Starter Member

    Jul 17, 2013
    75
    0
    No I didn't see
    You can give me a example
    Thanks
     
Loading...