Type in the full discussion title or a part of it.
Discussion Title Created date
What could be the reason for a "wrong" return val?
I have the following struct in a C file that hosts functions to drive the DFPlayer MP3 module (this is not in main.c): struct DFPlayerData { uint8_t numberOfTracks; uint8_t...
Saturday, 23 December 2017 - 17:14
USART polled get byte with timeout - not working
I'm using timer0 as a timeout timer to read data from UART. The code looks as so: uint8_t UARTGetByte(void) { // Setup timer0 for timeout check OCR0 = 255; // ~0.03264 sec...
Sunday, 17 December 2017 - 00:31
How come a line is not executed?
I have the following function: int16_t DFPlayerSendCommand(uint8_t command, uint8_t parameter) { uint8_t tempCommand[10] = {0x7E ,0xFF ,0x06 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00...
Tuesday, 12 December 2017 - 22:02
how to limit rand() range?
According to the libc documentation, it seems that rand() has an upper limit set by RAND_MAX macro which defaults to 0x7FFF. I would like to cap the max. number at different...
Tuesday, 12 December 2017 - 00:24
Advantech USB-4761 8-ch Relay and 8-ch Isolated Digital Input USB Module
Read all about it here : http://www.advantech.com/products/1-2mlkno/usb-4761/mod_c1e301ab-cdc8-45c0-b610-6aea44b544ae   Buy / offer here: http://r.ebay.com/CqvMJf
Monday, 11 December 2017 - 17:49
Why UART module keeps on sending data?
Using ATtiny104 + GCC.   I have the following UART functions: void UARTInit(void) { power_usart_enable(); UBRRH = (uint8_t)(BAUDRATE >> 8); UBRRL = (...
Saturday, 2 December 2017 - 10:38
A more stable way to develop / debug serial communication?
For several days now I'm writing & debugging code that communicated between and AVR and another device over UART. To "tap into the action" I am using my computer, running a...
Friday, 1 December 2017 - 12:45
ATtiny102 / 104 datasheet error?
I just got the ATtiny104 Xplain mini micro something something dev. board and noticed that UART registers have numbers as if the MCU has several modules, which it does not. Is...
Wednesday, 29 November 2017 - 08:04
Initializing struct inside definition in GCC?
I saw a post on Stack Exchange where someone claimed that you can init values inside the struct definitions (using GCC), such as: typedef struct { uint8_t number = 9;...
Thursday, 23 November 2017 - 00:57
QT600 does not show up under Studio 7
I plugged in the QT600 kit and it does not show up under Studio 7 connects kits (while not in programmer mode). I did manage to get the TS2080B to show up although it showed up as...
Saturday, 18 November 2017 - 13:01
Qtouch demo boards become rare / obsolete?
I'm looking for a solid reference design for using the capacities touch sensing lib. on Mega & XMega devices. It seems all the boards that offered this are no longer available...
Thursday, 2 November 2017 - 11:51
Qtouch library prototyping (can't get it to work)
I've setup Qmatrix sensing using the Qtouch library wizard in Atmel Studio. Right now I have 10nF caps and 12K resistor in series with the sensor pad. Using the scope, I can see...
Monday, 30 October 2017 - 16:42