CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 19 matches
CCS Forum Index
Author Message
  Topic: passing 2 dimensional array in a function
ysaacb

Replies: 17
Views: 22778

PostForum: General CCS C Discussion   Posted: Thu Jan 01, 2009 4:08 am   Subject: passing 2 dimensional array in a function
This is my code:

void rotate_buffer(MESSAGE_BUFFER[7][40])
{
for (row=0;row<7;row++)
{
FIRST_BYTE=MESSAGE_BUFFER[row][0] ...
  Topic: passing 2 dimensional array in a function
ysaacb

Replies: 17
Views: 22778

PostForum: General CCS C Discussion   Posted: Wed Dec 31, 2008 1:14 pm   Subject: passing 2 dimensional array in a function
let say I want to do the following, just an example, nothing usefull:

void myfunc(char arr[row][col])
{
for (i = 0, i<row; i++)
for ( ...
  Topic: passing 2 dimensional array in a function
ysaacb

Replies: 17
Views: 22778

PostForum: General CCS C Discussion   Posted: Wed Dec 31, 2008 9:25 am   Subject: passing 2 dimensional array in a function
I'm also trying to pass a 2 dim array to a function. I try to use pointer to pointer using the Matro technique.
But the only way a find it can work is passing the array as a one dimention array (sin ...
  Topic: two pic's talking in the internet?
ysaacb

Replies: 8
Views: 6534

PostForum: General CCS C Discussion   Posted: Thu Dec 06, 2007 1:05 am   Subject: two pic's talking in the internet?
well, I'm going to use the CCS Stack that includes the UDP layer and PIC18F4620+ENC28J60.
But thi is the main problem: when the two pic's are behind a router, the firewall dosn't let anybody from the ...
  Topic: two pic's talking in the internet?
ysaacb

Replies: 8
Views: 6534

PostForum: General CCS C Discussion   Posted: Wed Dec 05, 2007 3:58 am   Subject: two pic's talking in the internet?
This is the link
http://www.heise-security.co.uk/articles/82481
  Topic: two pic's talking in the internet?
ysaacb

Replies: 8
Views: 6534

PostForum: General CCS C Discussion   Posted: Wed Dec 05, 2007 3:50 am   Subject: two pic's talking in the internet?
I look around in the internet. There is a technique called "UDP Punch Hole"
(wich skype is based), have anybody an idea how to implement in with PIC's
  Topic: two pic's talking in the internet?
ysaacb

Replies: 8
Views: 6534

PostForum: General CCS C Discussion   Posted: Tue Dec 04, 2007 3:54 am   Subject: two pic's talking in the internet?
Hi everibody:
it is possible for 2 pic's that are in two diferent LAN two interchange UDP messages?

In the same LAN should be easy. But about doing the same in the internet?
  Topic: Two dimension array as Function Parameter
ysaacb

Replies: 5
Views: 5922

PostForum: General CCS C Discussion   Posted: Sun Oct 28, 2007 10:42 am   Subject: Two dimension array as Function Parameter
I'm trying to do something like this i.e. make the array point to the adress of a

void myfunc (char *p)
{

char BUFFER[7][32];
buffer=a;
..
}

{
char a[10][5];

Regards
Ysaac

...
  Topic: Two dimension array as Function Parameter
ysaacb

Replies: 5
Views: 5922

PostForum: General CCS C Discussion   Posted: Thu Oct 25, 2007 5:41 am   Subject: Two dimension array as Function Parameter
Hi Everibody

How can I a pass a two dimension array asa function parameter?

Regards

Ysaac
  Topic: Accessing individual pins simultaneously ?
ysaacb

Replies: 4
Views: 5116

PostForum: General CCS C Discussion   Posted: Thu Oct 18, 2007 3:47 pm   Subject: Accessing individual pins simultaneously ?
You can AND, OR or XOR the port data register

how?

Port B can certainly drive HC logic as well as any other port. Are both the HC and the PIC running from the same VCC?

I tryed to stream data ...
  Topic: Accessing individual pins simultaneously ?
ysaacb

Replies: 4
Views: 5116

PostForum: General CCS C Discussion   Posted: Thu Oct 18, 2007 2:11 pm   Subject: Accessing individual pins simultaneously ?
1.-How can I modify some spare pins in an a specific port in one instruction cycle, without modifying the other pins?, for example: how to output low the pins 1,2,4 of the Portb in one instruction wit ...
  Topic: How to send a zero length packet from mpusbapi.dll
ysaacb

Replies: 0
Views: 2734

PostForum: General CCS C Discussion   Posted: Thu Feb 22, 2007 1:48 pm   Subject: How to send a zero length packet from mpusbapi.dll
I'm working with 18f2550 in a bulk transfer mode, it works ok.

I am trying to send data from the pc to pic using the mpusbapi.dll , but I need to send a zero length packet to the pic to indicate t ...
  Topic: Software RS232
ysaacb

Replies: 3
Views: 5347

PostForum: General CCS C Discussion   Posted: Wed Sep 27, 2006 7:57 am   Subject: Software RS232
I delete the "INVERT" from the #USE RS-233 but the problem still persist.
I'm just trying to print some characters to the Hyperterminal but the first Bytes are always missing or garbage

...
  Topic: Software RS232
ysaacb

Replies: 3
Views: 5347

PostForum: General CCS C Discussion   Posted: Tue Sep 26, 2006 2:37 pm   Subject: Software RS232
Hi Everibody
I've been working succsefuly with the HW usart of the 18F2620 and I want to add second one (software) for debug purpouses. I write a very simple code to try it but only recive garbage. ...
  Topic: eeprom write problem
ysaacb

Replies: 7
Views: 10774

PostForum: General CCS C Discussion   Posted: Tue Jul 04, 2006 5:15 am   Subject: eeprom write problem
Dear Mark
I made the correction you suggest, but I still have the same problem: when the main program, call the this function the second time it hungs up trying to accses the EEprom i.e.:

status=i ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group