| | Re: tweaking around dlcd_show( )
|
|
(...) Due to an error of my news-reader I missed some answers to your original post. Probably mine is a little late. bye Bernardo e-mail: dibbe@freestation.it (23 years ago, 4-Sep-01, to lugnet.robotics.rcx.legos)
|
|
| | Re: tweaking around dlcd_show( )
|
|
Thank you Bernardo. As I explained during the discussion with Martin, I decided to use rather arrays of functions. So now I've got my own functions like void Lcd4BotL(){ dlcd_show(LCD_4_BOTL); } and the use of the array with an index is now fully (...) (23 years ago, 4-Sep-01, to lugnet.robotics.rcx.legos)
|
|
| | Re: tweaking around dlcd_show( )
|
|
(...) The macros LCD_?_* expand to two integers, separated by a comma; dlc_show() is a macro that expects one argument but uses it as an argument to macros expecting two arguments. I don't know exactly how this works, but it's to do with the order (...) (23 years ago, 3-Sep-01, to lugnet.robotics.rcx.legos)
|
|
| | My seggiestion about remote control patach
|
|
I think remote control can be divided two parts: 1. defatk mode, if you user doesn't provide remote handler, the default hanlder will be called, key M1-M3 send standard message 1-3, A1-C1/A2-C2 increase/decrease 1 outport port a-c, P1-P5 run program (...) (23 years ago, 3-Sep-01, to lugnet.robotics.rcx.legos)
|
|
| | Re: legos application downlod protocol
|
|
legOS has two download programs, firmdl3.exe for kernel, and dll.exe for user program, you can check source files /legOS/util/firmdl/rcx_comm.c and /legOS/util/dll-src/loader.c. You can find LNP in file /legOS/kernel/lnp.c and lnp-logical.c. Br (...) (23 years ago, 3-Sep-01, to lugnet.robotics.rcx.legos)
|