Search found 4 matches

by acobadolato
Mon Nov 05, 2012 3:27 am
Forum: NetBurner's Eclipse IDE
Topic: itoa() into MOD5213
Replies: 1
Views: 4495

Re: itoa() into MOD5213

This code works:

/* itoa: convert n to characters in s */
void itoa(int n, char s[])
{
int i, sign;

if ((sign = n) < 0) /* record sign */
n = -n; /* make n positive */
i = 0;
do { /* generate digits in reverse order */
s[i++] = n % 10 + '0'; /* get next digit */
} while ((n /= 10) > 0 ...
by acobadolato
Tue Oct 30, 2012 12:46 pm
Forum: NetBurner's Eclipse IDE
Topic: itoa() into MOD5213
Replies: 1
Views: 4495

itoa() into MOD5213

Hi,

I'm trying to use itoa() into a MOD5213 project but the compiler doesn't recognize it.

The manual says that itoa() needs system.h and utils.h found in C:\Nburn\include but I only have inlcuded into my project C:\Nburn\include_nn and system.h and utils.h doesn't contain itoa() function.

Is it ...
by acobadolato
Tue Oct 30, 2012 9:58 am
Forum: NetBurner Software
Topic: How to communicate MOD5270 and MOD5213
Replies: 2
Views: 2544

Re: How to communicate MOD5270 and MOD5213

Thanks!
pbreed wrote:I2C will work.

Async Serial communications will work. ie serial port

If you use a Mod5238 Mod5282, Mod54415 or Nano54415 you can communicate with the mod5213 via Can.

About the only comm channel that will not work is SPI.
by acobadolato
Mon Oct 29, 2012 8:47 am
Forum: NetBurner Software
Topic: How to communicate MOD5270 and MOD5213
Replies: 2
Views: 2544

How to communicate MOD5270 and MOD5213

Hello,

I neeed to communicate MOD5270 with MOD5213

is it possible if they only support master mode?

Thanks,

Alejandro