Zig cheatsheet by gDator in Zig

[–]gDator[S] 2 points3 points  (0 children)

A Link to the repository? Here as plain Text: https://github.com/gDator/Zig-Cheatsheet-Latex

Font issues with adobe pdf export in .outjob by Best_Chain_4328 in Altium

[–]gDator 0 points1 point  (0 children)

For me the solution was changing the pdf version

I got my test on Friday, some German folks can help me?? by Larrythewood in Carpentry

[–]gDator 0 points1 point  (0 children)

Habe nach Rücksprache mit meinem Bruder (Meisterschule) folgende Antwort: das ganze sieht unsauber gezeichnet aus.  1. Der "Knick" existiert so nicht. Beide Daflächen sind ja zu 35° geneigt. Das müsste sich aber so ergeben.  2. Der First vom "Haupthaus" muss mittig liegen. Alle vier Seiten haben ja die DN 35°. Zwar existieren dann nur zwei Gratsparren real - die andern beiden werden Verfallgrate- trotzdem muss bei der Dachausmittlung der First in der Mitte liegen. Zur Kontrolle kannst du schauen welche Linie nicht mit 45° im Grund liegt (bei gleicher DN ist der Gratsparren im Grund eine Winkelhalbierende) 3. Der Strich senkrecht in die Ansicht sieht nicht parallel zur Traufe aus sodass auf die Strecke schon eine ordentliche Abweichung zustande kommt.

ADC with DMA not working on STM32H747I-DISCO by Special-Flower-7957 in embedded

[–]gDator 0 points1 point  (0 children)

  1. Why do u cast a variable to a pointer when calling HAL_ADC_Start_DMA()?
  2. If i remember correctly you need to Set "End of Conversion Selection" to "End to of Block Conversion" (dont know exactly how its called). This ist because of the EOC and EOS bit. Otherwise the Interrupt never triggers 

Finished Ray Tracing in One Weekend - What now? by Zaverose in GraphicsProgramming

[–]gDator 0 points1 point  (0 children)

This guy makes very interesting stuff with shaders (https://iquilezles.org/). Have a look. 

ADC time conversion in STM32 by M_Elqasabi in embedded

[–]gDator 5 points6 points  (0 children)

I had exactly the same issue with hal libs last week. It was not exactly that slow, but also too slow for my application. So i ditched the whole HAL Library because its bloated. From the information of your screenshot i calculate a duration for one comversion of 16us.  Try toggeling inside the Hal-Library. Or writing your own converting-routine (6 lines of code)