Quantcast
Channel: Reprap Forum - Repetier
Viewing all articles
Browse latest Browse all 1321

i2c for other purposes (2 replies)

$
0
0
Hello! I am using repetier on a rambo and want to use the i2c capabilities for communicating with another Arduino.

I uploaded an example sketch to the rambo and another arduino and have them talking to each other fine. When I try to add this into the Repetier firmware I get trouble.

I have a simple example:
HAL::i2cStartWait(4);
HAL::i2cWrite('a');
HAL::i2cStop();

This code fails when it gets to the write step. I am in a bit over my head here and would appreciate any advice someone might have. I can't find any examples of i2c being used aside from write commands everywhere. Where is i2c being initialized? How is it used?

Thanks!

Viewing all articles
Browse latest Browse all 1321

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>