To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 3738
3737  |  3739
Subject: 
Re: problems with creating arrays of larger sizes
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Fri, 14 May 2004 20:16:19 GMT
Viewed: 
5183 times
  
Andreas Jurk wrote:

If I try to initialize this array with values my RCX crashes and I have do reset
it by taking out the batteries. •  >
Is the reason of the crash connected with memory limits?

Who knows. Unless you show your code...

Regards,

Michael



Message has 1 Reply:
  Re: problems with creating arrays of larger sizes
 
OK, here is my code. #include <dmotor.h> #include <dsensor.h> #include <unistd.h> #include <dbutton.h> #include <conio.h> #include <stdio.h> #define n 1000 void verzoegerung(unsigned long zeit) { while(zeit--); } int main() { int i; char c[n]; (...) (20 years ago, 17-May-04, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  problems with creating arrays of larger sizes
 
Hello, at the moment I try to get experience with the memory of the RCX. I've read somewhere that the brickOS firmware is about 8kB big. I loaded a program with a size of 2 kb down to the RCX. With the help of the program I created an array of the (...) (20 years ago, 14-May-04, to lugnet.robotics.rcx.legos)

6 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR