Tatanne86
Newbie

Bonjour.
Je programme un PIC24 avec écran 2x16, clavier, ça pas de problème, mais je dois programmer deux liaison I2C, une avec une EEPROM 24C16 (ou autre de la même famille), ainsi qu'un DAC MCP47FEB12 (le 10 bits 2 voies) et là je coince un peu car pas utilisé pour le moment. J'utilise une carte de ma fabrication que je programme en C avec MPLAB.
J'utilise les lignes SDA1 et SCL1 ainsi que le port RE4 pour le LATCH du DAC.
Si quelqu'un peut me donner des infos, la lecture en anglais des data book est un peu fastidieuse.
Il me faudrait 3 fonctions init_I2C, ecrit_data et lit_data.
Merci de votre aide.
[Translated by moderator] Please notice that Edaboard accepts English posts only.
Hello.
I am programming a PIC24 with a 2x16 screen, keyboard, that's no problem, but I have to program two I2C links, one with a 24C16 EEPROM (or other from the same family), as well as a MCP47FEB12 DAC (the 10-bit 2-channel) and there I am stuck a little because I have not used it at the moment. I am using a card of my own making that I am programming in C with MPLAB.
I am using the SDA1 and SCL1 lines as well as the RE4 port for the DAC LATCH.
If someone can give me some information, reading the data books in English is a bit tedious.
I would need 3 functions init_I2C, write_data and read_data.
Thank you for your help.
Je programme un PIC24 avec écran 2x16, clavier, ça pas de problème, mais je dois programmer deux liaison I2C, une avec une EEPROM 24C16 (ou autre de la même famille), ainsi qu'un DAC MCP47FEB12 (le 10 bits 2 voies) et là je coince un peu car pas utilisé pour le moment. J'utilise une carte de ma fabrication que je programme en C avec MPLAB.
J'utilise les lignes SDA1 et SCL1 ainsi que le port RE4 pour le LATCH du DAC.
Si quelqu'un peut me donner des infos, la lecture en anglais des data book est un peu fastidieuse.
Il me faudrait 3 fonctions init_I2C, ecrit_data et lit_data.
Merci de votre aide.
[Translated by moderator] Please notice that Edaboard accepts English posts only.
Hello.
I am programming a PIC24 with a 2x16 screen, keyboard, that's no problem, but I have to program two I2C links, one with a 24C16 EEPROM (or other from the same family), as well as a MCP47FEB12 DAC (the 10-bit 2-channel) and there I am stuck a little because I have not used it at the moment. I am using a card of my own making that I am programming in C with MPLAB.
I am using the SDA1 and SCL1 lines as well as the RE4 port for the DAC LATCH.
If someone can give me some information, reading the data books in English is a bit tedious.
I would need 3 functions init_I2C, write_data and read_data.
Thank you for your help.
Last edited by a moderator: