Jump to content

riktw

Members
  • Posts

    1
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hello I got uGFX working after a while with a 32F429IDISCOVERY. I can draw 2 buttons and each button controls an LED. I wanted to add a graph and there is why it went wrong. I eventually managed to draw a graph underneath the buttons and I can add datapoints. But if I add a variable in my main, so just "int test;" and assign it a value "test = 42;" then my graph isn't rendered anymore. This code works: http://pastebin.com/057a2aZX and this code does not: http://pastebin.com/G0kDwLfR The only difference is that on line 118/119 I declare a variable and assign it a value. The buttons do still work however. If I debug the code it seems that "gh = gwinGraphCreate(&g, &wii);" goes wrong and returns NULL for gh. But why a variable somewhere else causes that, no clue. I don't use an OS and it's a st32coremx based project. So it uses the stm32f4 hal drivers and GCC as the compiler. I hope someone knows what is going on here Best regards, Rik
×
×
  • Create New...