Search found 19 matches
- 03 Jan 2013, 18:17
- Forum: Mindstorms Software
- Topic: wishlist for NXC
- Replies: 240
- Views: 434189
Re: wishlist for NXC
Thank you so much, I implemented it and it works great!
- 02 Jan 2013, 22:16
- Forum: Mindstorms Software
- Topic: wishlist for NXC
- Replies: 240
- Views: 434189
Re: wishlist for NXC
I am working on some games, and for the graphics to look best, I want to clear only part of the screen, not the entire screen. (Clearing the entire screen creates flicker.) I would imagine the code would look something like this: RectOut(x,y,w,h,DRAW_OPT_NORMAL); Wait(1000); RectOut(x,y,w,h,DRAW_OPT...
- 13 Dec 2012, 21:00
- Forum: Mindstorms Software
- Topic: wishlist for NXC
- Replies: 240
- Views: 434189
Re: wishlist for NXC
http://pastebin.com/Apd8eSD8
I have a program that cycles through a bool array and draws it as rectangles. I would like to be able to clear the false rectangles and fill the true ones. The DRAW_OPT_CLEAR, and DRAW_OPT_INVERT don't work for clearing the false rectangles.
Any ideas? Thanks.
I have a program that cycles through a bool array and draws it as rectangles. I would like to be able to clear the false rectangles and fill the true ones. The DRAW_OPT_CLEAR, and DRAW_OPT_INVERT don't work for clearing the false rectangles.
Any ideas? Thanks.
- 12 Dec 2012, 22:17
- Forum: Mindstorms Software
- Topic: Real time data monitoring from a computer
- Replies: 2
- Views: 5215
Re: Real time data monitoring from a computer
If you have windows, and BricxCC, you could maybe use and simple terminal. You would have to code your program to send specific information through a response string (or number).
Code: Select all
SendResponseString(byte MAILBOX, string string)
- 04 Dec 2012, 16:11
- Forum: Mindstorms Software
- Topic: NXT firmware update problem
- Replies: 3
- Views: 5470
Re: NXT firmware update problem
When uploading the firmware to the brick, sometimes a windows computer will mess it up. Just upload again. I would add to the above that if the download does not complete successfully then you should try repeating the download a second time. The current download process is sometimes interrupted by t...
- 15 Nov 2012, 04:17
- Forum: Mindstorms Software
- Topic: [SOLVED]NXC Read/Write Help
- Replies: 6
- Views: 8635
Re: NXC Read/Write Help
Thank you!!! It's working now!afanofosc wrote:I would use the API functions designed for writing strings to files if I needed to write strings to a file such as WriteString or WriteLnString.
John Hansen
- 10 Nov 2012, 16:20
- Forum: Mindstorms Software
- Topic: [SOLVED]NXC Read/Write Help
- Replies: 6
- Views: 8635
Re: NXC Read/Write Help
I modified your code, and I found out that the nxt is ok with numbers, but does not like strings. // File I/O void ReadFile() { string sFileName="myfile.dat"; unsigned int nFileSize; byte fHandle; int IOresult; int mydata1, mydata2, mydata3, mydata4, mydata5, mydata6; /*string mydata1, myd...
- 09 Nov 2012, 23:54
- Forum: Mindstorms Software
- Topic: [SOLVED]NXC Read/Write Help
- Replies: 6
- Views: 8635
[SOLVED]NXC Read/Write Help
Here is my code: https://github.com/ArtskydJ/NXC_Tests/blob/master/WriteReadString.nxc //Read/Write String Test task main() { int what=0; unsigned int handle,fsize=1024,result; string outstring; TextOut(2,0,"make|delete|open",0); until (ButtonPressed(BTNLEFT)||ButtonPressed(BTNCENTER)||But...
- 07 Nov 2012, 19:32
- Forum: Mindstorms Software
- Topic: NXT-G 2.0 legal download
- Replies: 19
- Views: 96510
Re: NXT-G 2.0 legal download
My personal favorite mounting utility is Virtual CloneDrive. http://www.slysoft.com/en/virtual-clonedrive.html
- 06 Nov 2012, 19:03
- Forum: Mindstorms Software
- Topic: NXT crash in middle of program
- Replies: 2
- Views: 4841
Re: NXT crash in middle of program
I modified your program, but I can't test it. It is now modular-ized. The new format might be easier to debug.
http://pastebin.com/NgEjChFX
http://pastebin.com/NgEjChFX