Bienvenido a los foros de FT81x Manía. Te invitamos a regístrate totalmente gratis. Disfruta de tu experiencia con un grandes amigos y Staff.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Thread Contributor: RndMnkIIIRepositorio libreria GD2UB e instrucciones instalación

#31
0
Yes friend @ TFTLCDCyg  i have two boards STM32F407VET6.
  • 198Kb RAM
  • 512Kb Flash
  • 168MHz CPU
Good, good and good stability with screen FT81x, great board!  Ask for another one; buy on Banggood.com
Reply
#32
1
I have tried connecting PD pin to STM32 reset and that works fine.
Reply
#33
0
(25-09-2017, 07:39 07)raufjay Wrote: I have tried connecting PD pin to STM32 reset and that works fine.

Good contribution. I will do the test for you. Thank you! feliz
Reply
#34
0
I was using STM32 libraries from STM32duino website, which was working only upto Arduino 1.6.5. Now I am using the libraries you suggested and now I am able to use STM32 bluepill with latest Arduino IDEs. Thank you.
I need a command to do software reset. Before I was using nvic_sys_reset() function.
When I tried it now, it gives error during compile. Can you guide me so I can use the software reset function of STM32F103
Thanks
Rauf
Reply
#35
1
Regarding software reset, I found the solution for it.
NVIC_SystemReset();
Using the above statement will call the software reset in Core_cm3.h, which is part of the ARM core.
Thanks any ways.
Rauf
Reply
#36
0
Hello there,
I have an issue. I am using STM32F103 chip with FT811. All seems nice. Now I need to show a float number on the display. Which may be in positive or negative numbers. I used cmd_text and cmd_number. both could not get me the required results.
Then I thought to convert floating point into char string. and use cmd_text. But after trying many functions I could not find a reliable function which can successfully convert a xxx.xx float to char string. I tried sprintf as well. With Arduino nano all seems working but with STM32F103 selected, code compiles but char string show blank.
Any idea?
Thanks.

Moreover, can i post any new thread on this forum?
Reply
#37
3
Better response on post RE: Repositorio libreria GD2UB e instrucciones instalaciónUse prinNfloat, is it a function inside of the library

#include <GD2UB.h>

void setup()
{
  GD.begin();
}

float latitud, latitudint, latituddec;
float longitud, longitudint, longituddec;

void loop()
{
  GD.ClearColorRGB(0x000020);
  GD.Clear();

  latitudint = random(35,45);
  latituddec=  random(9999);
  latitud = ((latitudint*10000)+latituddec)/10000;

  GD.cmd_text(100, 100, 31, 0, "latitud:");
   GD.printNfloat(325, 100, latitud, 5, 31);

  longitudint = random(1,5);
  longituddec=  random(9999);
  longitud = ((longitudint*10000)+longituddec)/10000;

  GD.cmd_text(100, 150, 31, 0, "longitud:");
   GD.printNfloat(325, 150, longitud, 5, 31);

  delay(1000);
  GD.swap();
}

prinNfloat can manage up on 7 decimals
Reply
#38
1
(09-10-2017, 06:09 45)raufjay Wrote:
Moreover, can i post any new thread on this forum?

Yes.
you can use the forum for your ideas and questions, just ask to use the correct section be possible. Greeting Wink
Reply
#39
0
Float numbers display problem solved. I don't have enough words to thank you. A BIG THANKYOU from Canada. You people ROCK.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)