Post Created date
Sending 32 bit data over USART: Garbage data received!
Kartman wrote: TankEngine wrote:// Clear the OCF1A flag in TIFR by setting it (this is an unusual bx common to interrupt flags in the AVR) Err no. Many other micros before the AVR...
Saturday, 5 August 2017 - 06:19
Sending 32 bit data over USART: Garbage data received!
Got it, calibration mode is functional now. I'll make any improvements anyone suggests, but I'm going to tentatively say it's done now. Here's my code:   /* GccApplication2....
Saturday, 5 August 2017 - 03:36
Sending 32 bit data over USART: Garbage data received!
Clawson, thanks to your example I was able to work out how to get STDIN and STDOUT working in avr-gcc. Thanks! Here's my code:   inline void uart_init(); int uart_getchar(...
Tuesday, 1 August 2017 - 23:30
Sending 32 bit data over USART: Garbage data received!
So, I'm having a hard time understanding how to use fdevopen() for stdio redirection. If this is really obvious then I apologize. I've been trying to find an example of it for...
Monday, 31 July 2017 - 20:17
Sending 32 bit data over USART: Garbage data received!
Ah, I finally see what you all wanted. Here's sample output using %.2f instead of %E.   Vcc = 5.02      tempReading = 144       volts = 0.71...
Tuesday, 25 July 2017 - 21:26
Sending 32 bit data over USART: Garbage data received!
I see. Well like I mentioned in my last edit, I'll swing by TechShop and see if they don't have what I need. Perhaps I'll order some 100nf capacitors online.
Tuesday, 25 July 2017 - 06:20
Sending 32 bit data over USART: Garbage data received!
My kit came with 100uF capacitors, think that would do the trick?   EDIT: did a search for makerspaces... I may swing by this TechShop place. There are also some interesting...
Tuesday, 25 July 2017 - 06:04
Sending 32 bit data over USART: Garbage data received!
Scroungre wrote: No Fry's in San Francisco?  Yikes.  I thought that's where they got started.  Maybe a few in the suburbs not too far away via BART?  Jameco's...
Tuesday, 25 July 2017 - 04:14
Sending 32 bit data over USART: Garbage data received!
Sadly there is no Fry's in San Francisco. No other electronics store, either. I ordered a multimeter online.   For now I'm going to work on calibrating the sensor from the...
Monday, 24 July 2017 - 23:41
Sending 32 bit data over USART: Garbage data received!
Ok, I'll look into my equations then. Clearly something is wrong. EDIT: Well, *something* is wrong anyways. Must not be the equations since you say that 194 should equate to...
Monday, 24 July 2017 - 22:56
Sending 32 bit data over USART: Garbage data received!
Ah, I see. I changed the printf() statement to print the tempReading as an int (NB it is of type uint16_t, but I was casting it to a float/double in the printf() statement). Here...
Monday, 24 July 2017 - 22:38
Sending 32 bit data over USART: Garbage data received!
A little update, I've got readVcc() working! Big thanks to Kartman for pointing out that long is an integer type, and to everyone else who chimed in.   Now, I could use a...
Monday, 24 July 2017 - 19:59

Pages