Post Created date
Start ATOI at a specific part in a string
Joey, thanks for the explanation.   Edit: I think I get it now. i2c_recv is a pointer, but it is a constant, not a variable. You can't increment it or otherwise change its...
Friday, 10 April 2020 - 05:08
Start ATOI at a specific part in a string
Apparently, I'm not good with pointers either.   How about: cabinet_temperature = atoi(&(i2c_recv[1])); 
Friday, 10 April 2020 - 02:18
Start ATOI at a specific part in a string
atoi( const char *s ) in <stdlib.h>   You pass it a pointer to char.  Just set your pointer to the second char. If pointer StrPtr is pointing to the first char,...
Friday, 10 April 2020 - 02:02
How To Read Data From Attiny202?
  can I transfer that info using UPDI or some other protocol?  Rather than UPDI, you would use the USART to send the data to the PC via a Logic Level USB Serial adapter...
Friday, 10 April 2020 - 00:34
Atmega644pa High frequency for 3.3v
From the image in Post#1: This version features a 12 MHz resonator and a 3.3 V regulator that can be powered from 3.8 V to 15 V supplies.  Your 3.7V...
Wednesday, 8 April 2020 - 05:13
C code for micro servo sg90
kabasan wrote: in hope that we would research and look else where to find the answers.   Take a look at "Hobby Servo Tutorial" from (Link).  
Tuesday, 7 April 2020 - 02:16
Problem with displaying readings from DHT22 (ATmega 328P)
HoangNhut wrote: Sorry but why  dht_gettemperaturehumidity(&temperature, &humidity) != -1Thanks for reply!   If dht_gettemperaturehumidity() reading fails the...
Sunday, 22 March 2020 - 04:27
Importing Mavlink into Atmel Studios 7
In the link that you posted, it shows: #include <your_dialect/mavlink.h>  If you are using Studio 7, using the < ... > is wrong.   Try using " ... "...
Sunday, 15 March 2020 - 06:38
ATMEGA32U4 not running the code after flashing
Iam using the progisp tool to flash the uC Try a different ISP programmer. Do you have access to a different programmer? If not, do you have any Arduino boards?  You can...
Wednesday, 11 March 2020 - 16:58
if statement not picking up on variable change
Is rx_counter_usartc0 modified in an ISR? Is it declared as voloatile?
Wednesday, 11 March 2020 - 01:42
ATMEGA32U4 not running the code after flashing
Haripranesh wrote: Hi chuck99, i have tried to set the EXT Fuse to F3 but its not changing.   When you read the EXT fuse now, is it C3 or C0?  
Tuesday, 10 March 2020 - 19:37
ATMEGA32U4 not running the code after flashing
      I am concerned about the Ext=C0.  Was C0 the value that you intended to write to the chip? The 4 most significant bits of the Ext fuse should be 1111 =...
Monday, 9 March 2020 - 20:18