| | C standard functions with legOS?
|
|
Is it possible to use functions from C standard libraries with legOS, e.g. sin() from math.h or abs() from stdlib.h? They are a part of gcc, but e.g. math.h seems to produce compiler errors. Best regards. Michael Wisse (23 years ago, 25-Apr-01, to lugnet.robotics.rcx.legos)
|
|
| | Re: lcd
|
|
Yes, if you have three values, just display them like this : cputw((VALUE_1 << 8) + (VALUE_2 << 4) + (VALUE_3)); (...) (23 years ago, 25-Apr-01, to lugnet.robotics.rcx.legos)
|
|
| | lcd
|
|
Is it possible to display 2 lcd intergers on the screen at the same time? ie 2 rotation sensors. Thanks in advance chris (23 years ago, 25-Apr-01, to lugnet.robotics.rcx.legos)
|
|
| | Yet another RcxCC revision
|
|
Okay, thanks to the input from some of you who have tried my revised RcxCC I have recently fixed a few bugs and added a few more user-configurable options. Find the latest revision to RcxCC at: (URL) this version you'll find: 1) Fixed the NQC (...) (23 years ago, 24-Apr-01, to lugnet.robotics.rcx.nqc)
|
|
| | Re: Sensor Commands and legOS 0.2.3
|
|
(...) TOUCH_1 is a macro defined in dsensor.h starting form version 0.2.4. If you don't want to upgrade, here is the code: #define TOUCH(a) ((unsigned int)(a) < 0x8000) #define TOUCH_1 TOUCH(SENSOR_1) #define TOUCH_2 TOUCH(SENSOR_2) #define TOUCH_3 (...) (23 years ago, 24-Apr-01, to lugnet.robotics.rcx.legos)
|