Search found 10 matches

by docaberle
Sun Oct 05, 2008 9:23 am
Forum: NetBurner Software
Topic: Serial Port data question
Replies: 5
Views: 5548

Re: Serial Port data question

This works. You have to set up a set up an array of char's to send and use the write function.

SerialClose( 1 );
int fd1 = OpenSerial( 1, 2400, 1, 8, eParityNone );

char mydata[5];
char *mydatapointer;
mydatapointer = &mydata[0];
mydata[0]=16;
mydata[1]=17;
write(fd1, mydatapointer, 2);
by docaberle
Sun Oct 05, 2008 6:13 am
Forum: NetBurner Software
Topic: Serial Port data question
Replies: 5
Views: 5548

Re: Serial Port data question

That doesn't work.
Syntax:

#include <stdio.h>
int sprintf( char *buffer, const char *format, ... );
by docaberle
Sat Oct 04, 2008 6:13 pm
Forum: NetBurner Software
Topic: Serial Port data question
Replies: 5
Views: 5548

Serial Port data question

I'm confused on sending data out the serial port. I'm sending data from the netburner 5270LC to a Pic16F688 chip. I currently can send and receive ASCII characters but was wondering how do I send any other data like decimal or hex numbers? The pic can receive these different types of values but it a...
by docaberle
Sat Sep 20, 2008 4:35 pm
Forum: NetBurner Hardware
Topic: I2C
Replies: 2
Views: 3407

I2C

I'm new to netburner and am trying to get the I2C bus to talk to an AtoD chip. Seems fairly straight forward but I get a "Failed to read error: 9" when I try the sample "Mod5270 I2C2Serial" program that came with the board. I am running only one netburner module so I have the &qu...
by docaberle
Tue Aug 26, 2008 6:52 pm
Forum: NetBurner Software
Topic: Flash IDE without html page
Replies: 7
Views: 6840

Re: Flash IDE without html page

It seems to work now. I don't think the changes were being uploaded to the board. Forgot to do "Publish" from flash to make a new html and swf. I'm so used to just making a swf file. With that the "Refresh" option in NBEclipse recognizes the changes and makes a new build. I just ...
by docaberle
Tue Aug 26, 2008 6:21 pm
Forum: NetBurner Software
Topic: IP Addressing
Replies: 2
Views: 3946

Re: IP Addressing

That clears things up. I just have a switch, so I'll get a router and work with that. I'll also look into DHCP software possibly. Haven't heard of that yet.
Thanks a lot.
by docaberle
Tue Aug 26, 2008 3:42 pm
Forum: NetBurner Software
Topic: Flash IDE without html page
Replies: 7
Views: 6840

Re: Flash IDE without html page

The flash example
by docaberle
Tue Aug 26, 2008 3:08 pm
Forum: NetBurner Software
Topic: Flash IDE without html page
Replies: 7
Views: 6840

Re: Flash IDE without html page

I have the netburner IP Setip at 10.1.1.8 and the computer at 10.1.1.5. I tried the combinations below and the swf said it was connected but didn't work otherwise. Is the formatting wrong? Flash help doesn't show this direct usage of the IP for reference. !socket.connect("10.1.1.5", DestPo...
by docaberle
Tue Aug 26, 2008 2:58 pm
Forum: NetBurner Software
Topic: IP Addressing
Replies: 2
Views: 3946

IP Addressing

I have "Obtain an IP address automatically" checked in Internet Protocol Properties dialog box. This works great for email and internet but I can't get the netburner device to work this way. When I put in a specific IP address like 10.1.1.5 in windows and 10.1.1.9 in Netburner IP Setup it ...
by docaberle
Tue Aug 26, 2008 2:48 pm
Forum: NetBurner Software
Topic: Flash IDE without html page
Replies: 7
Views: 6840

Flash IDE without html page

I'm new to netburner but not to Adobe Flash. Wondering why a swf file built in the Flash Integrated Development Environment can't communicate directly with the netburner device. The swf file when loaded onto the 5270 like in the demo works great, but why would I have to have the swf come from the 52...