@@eddyfernandez7806 i've never used It in the Arduino framework, It Is build using avrgcc so It should work with small changes. You could use the HX711 library for Arduino that Is ready to use.
I have been trying to use this code in eclipse but I really don't know how to solve this error: (recipe for target "main.o" failed), could you help me please.
@@eddyfernandez7806 Read here: www.avrfreaks.net/forum/recipe-target-maino-failed You may be missing some libs. Usually on Eclipse with the AVR plugin you just have to add a src folder, copy all your files to the source folder, set the target device and frequency, and the compiler does the rest. You could also try VSCode, or Atom with the Platform.io extention, I've moved to this IDE, but still i consider the Eclipse IDE + AVR plugin the simpler one.
Hello, this is built on ATmega8, but it should work on ATmega16 too. As for the Atmel Studio, it should but I did't try. I use VSCode or Eclipse with the AVR plugin with avrgcc.
Because actually with Atmel Studio there are a lot of errors because the code is kinda outdated. So it gives you Errors like "attempt to use poisoned "SIG_UART0_RECV"" and so on so now i wanted to try it with eclipse
@@alaamahmoud5402 you just need to set your serial port software (realterm) with the baudrate you set in your microcontroller, in my sample main.c is 4800 (see UART_BAUD_RATE), and then proper connect your microcontroller usart tx pin to the rx pin of your pc serial port (or serial ttl adapter), and rx to tx.
Eddy Fernandez I did not manage to use it with Atmel studio. I have little experience with Atmel studio, I worked more at Codevision. but the HX711 library did not work.