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...
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...
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...
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...
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....
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(...
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...
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...
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.
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...
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...
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...
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...
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...
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...
Pages