| | Re: I2C interface Bastiaan van Kesteren
| | | Thanks for your answer! However, I do have some questions about it.. First of all, I looked at the code you send in your post. looks nice, but to be honest, I don't know anything about assembly ( It is assembly, whats being used in the sub (...) (22 years ago, 13-May-03, to lugnet.robotics)
| | | | | | | | Re: I2C interface Mark Riley
| | | | | Hi, Change the declaration for set_motor to: extern "C" void set_motor(unsigned char mask, unsigned char value); and you should be fine. And, yes, it's H8 asm code. Probably could have written it in C, but I tend to prefer asm for low-level type (...) (22 years ago, 13-May-03, to lugnet.robotics)
| | | | | | |