Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - OO-MCP

Pages: 1
1
General Discussion / Re: BMP file on Tinyscreen
« on: September 16, 2018, 03:22:23 PM »
Well, It's easy to use and I'm proud to see the picture on the tiny screen, but...I know it's a sketsh for video and i use it for a picture. With only one picture on the SD card there's no problem at all. Whenever there are more then one pictures on the SD card, the program wil display them one by one...in less then a second. So that's not going like I wish.
I see 2 lines in the code with delay (100) So I try to change the milisec with a bigger number. It does absolutly nothing to the speed in displaying the TSV pictures on the screen. How can i slow this down?

2
General Discussion / Re: BMP file on Tinyscreen
« on: September 13, 2018, 12:15:34 PM »
Thank you Hunter. That part is ok now. I was able to play a TSV file on the display. My next step is now trying to switch a tsv file on a buttonpush. Going to play with the code before I'm going to ask for help :-)
Anyhow, I love it...great fun in trying to achieve something :-) :-) :-)

3
General Discussion / BMP file on Tinyscreen
« on: September 12, 2018, 10:55:09 AM »
Hi there. I'm trying to show a BMP file on the Tinyscreen, but all I get is...Well, nothing. No error messadge and black screen. Uploading the code is going well, but with no result, no display from the BMP file from the SD Card.
The code that I'm using is from Codebender https://codebender.cc/sketch:86070#TinyScreen_Bitmap_Display.ino
Changed both 1.bmp into the filenames on the SD Card. My hardware is the Tinyscreen with USB, batteryplug, buttons and switch and the SD Card print.
Displaying text is working well and I know how to write that code now.
Can anyone help me here?
Just pointing my nose in the correct direction would be fine.
Doing my best...but hey...maybe I'm too old to learn all this :-)


4
General Discussion / Re: From landscape to portrait
« on: August 21, 2018, 02:36:15 PM »
Well, untill I know what I'm doing with this Tinyproject, I'll simply want to use a converted image from a map. ( Have to learn that to ). So the gap in the dashboard from the glider is closed at the least. Then I would like to learn how I can use GPS signal and get the glider simbol moving over the map. Switching between sensordata and map would be nice. Sensor data could be height, batterylevel, groundspeed. I know that's still a long way, but got plenty of time. For now, the tekst and the image are prioity.


Martin

5
General Discussion / Re: From landscape to portrait
« on: August 21, 2018, 04:48:22 AM »
Hi Hunter. Thanks for the fast reply. I think that I untherstand it. ( Sorry for the bad english, but I live in Belgium :-)  )
The only reason that I'm using the TinyScreen is for my hobby. I'm trying to build a scale instrument with it for my (very ) big scale glider. So, in the end, it have to schow me some tekst at start up, few moments later it have to show a map. Already succeded with writing the tekst and adjusting the millisec that it is displayed.
Below a link with the LX9000 navigation instrument. That's what I want to build with the TinyScreen in scale 1/3,75 wich is more or less the 0,96 inch screen.
https://gliding.lxnav.com/products/lx9000/

I'm not a programmer, never build anything like this, so it's a bit of a struggle. Any help is welcome to reach my goal
:-)
Thanks
Martin


6
General Discussion / From landscape to portrait
« on: August 16, 2018, 05:03:32 AM »
Hi all, Newby and this could be a simple question for you all.
I'm starting with the TinyScreen and eventualy I want to build a little instrument for the cockpit from my scaleglider.
To do that, the first thing I have to learn is rotating the example on the screen, that is now horizontal.
Anyone who could help me? I assume this is the part where the change has to come? Rectangle to something else?

void hardwareDrawCommands(){
  //Accelerated drawing commands are executed by the display controller
  //clearScreen();//clears entire display- the same as clearWindow(0,0,96,64)
  display.clearScreen();
  //drawRect(x stary, y start, width, height, fill, 8bitcolor);//sets specified OLED controller memory to an 8 bit color, fill is a boolean- TSRectangleFilled or TSRectangleNoFill
  display.drawRect(10,10,76,44,TSRectangleFilled,TS_8b_Red);
  //drawRect(x stary, y start, width, height, fill, red, green, blue);//like above, but uses 6 bit color values. Red and blue ignore the LSB.
  display.drawRect(15,15,66,34,TSRectangleFilled,20,30,60);
  //clearWindow(x start, y start, width, height);//clears specified OLED controller memory
  display.clearWindow(20,20,56,24);
  //drawLine(x1, y1, x2, y2, 8bitcolor);//draw a line from (x1,y1) to (x2,y2) with an 8 bit color
  display.drawLine(0,0,95,63,TS_8b_Green);
  //drawLine(x1, y1, x2, y2, red, green, blue);//like above, but uses 6 bit color values. Red and blue ignore the LSB.
  display.drawLine(0,63,95,0,0,63,0);
  delay(1000);
  //use 16 bit version of drawLine to fade a rectangle from blue to green:
  for(int i=0;i<64;i++){
    display.drawLine(0,i,95,i,0,i,63-i);
  }
  delay(1000);
}

Thanks
Martin

Pages: 1
SMF spam blocked by CleanTalk