Comments (8)
Could you clarify what you mean by "skip the rest of the program"? Does the program exit after reaching LcdClean
or do you mean something else?
from ev3-api.
The program exits when reaching the LcdClean
function.
from ev3-api.
That is of course not supposed to happen. If this is an issue with the API code, it seems really strange though that this never occourred before. Do the other LCD related functions (Ev3Printf
or the older LcdPrintf
) work? Would you mind providing code for a minimal functional program that produces the error for you? That might help understanding what goes wrong and/or allow to maybe replicate the problem.
from ev3-api.
Have never tried to use Ev3Printf
, because it wasn't in the commands.pdf
and can't test it at the moment but I've used this code to get the result that I had described;
#include <ev3.h>
int main(void){
int x, y;
for(x = 0; x < 10; x++){
LcdClean();
for(y = 0; y < 8; y++){
if(x % 2 == 0)
{
LcdPrintf(1, "Hello World!\n");
LcdPrintf(0, "Hello World!\n");
}else{
LcdPrintf(0, "Hello World!\n");
LcdPrintf(1, "Hello World!\n");
}
}
Wait(MS_500);
}
}
from ev3-api.
Yes, Ev3Printf
and LcdPrintf
work with the above code
from ev3-api.
Did you figure out why LcdClean behaved strangely for you? Can this issue be closed?
from ev3-api.
No, I didn't figure it out in the end. Could have been something with the device itself because it did work with other EV3s that I could test it on.
from ev3-api.
Possibly different firmware versions? Could you check?
from ev3-api.
Related Issues (20)
- Color sensor mode 4 missing HOT 10
- LcdClean() doesn't work correctly HOT 2
- Upload from eclipse HOT 14
- Problems to add support for Hitechnic Color Sensor V2 HOT 8
- Order of InitEV3 and setallsensormode commands should be unimportant HOT 1
- <Speed> should be of type *int* HOT 2
- There is no possible way of resetting the gyro sensor HOT 4
- bluetooth messaging HOT 3
- Possible bug in EV3 timers HOT 2
- Cannot override timer_interval_mutliplier once initialized HOT 1
- Relicensing the EV3-API as GPL-2.0-or-later HOT 16
- SIGALRM syscall interruptions HOT 1
- LcdClean() doesn't reset cursor position HOT 1
- What does OutputInstance.Owner do? HOT 4
- undefined reference to `pthread_join' HOT 3
- Code compiles but brick doesn`t print anything HOT 3
- Add Documentation to rotate motor backwards
- Confusion over files included in eclipse ide plugin HOT 2
- Low performance in EV3 read sensor
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ev3-api.