Type in the full discussion title or a part of it.
Discussion Title Created date
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
How do I load large amounts of data when programming (exceeding flash)?
I'm using an Xmega with 128K of Flash memory. I also need to store about 256K of data that could be pulled by the code while the program runs. Right now I am trying to do this...
Sunday, 22 October 2017 - 00:29
Xmega bug / oversight or bad idea in header file? SPI module
In iox128a1.h - you have the following structure for SPI group configuration: /* Prescaler setting */ typedef enum SPI_PRESCALER_enum { SPI_PRESCALER_DIV4_gc = (0x00...
Saturday, 21 October 2017 - 00:22
How to pass a port name as argument and use the namespace?
I'm writing up code on a Xplain board with hopes to export it to the real word application without too many changes. In order to keep the code generic I would like to pass a port...
Friday, 20 October 2017 - 18:54