Type in the full discussion title or a part of it.
Discussion Title Created date
Best way to send part of an array to printf?
I have a UART input buffer, when I detect '\n' I set a flag that is checked in the main loop. At that stage I have chars in the buffer + possibly an index to the '\n' character (...
Sat. Feb 10, 2018 - 11:06 AM
How to send a string from flash to the LCD in the best way possible?
I'm sending a bunch of strings to an ESP8266 like so: UARTSendString_P(PSTR("ATE0\r\n"));The UART send command looks like so: void UARTSendString_P (const char *data) { #ifdef...
Sat. Feb 10, 2018 - 02:23 AM
TFT LCD RGB Parallel Interfacing standard?
I keep seeing various TFT LCDs on Aliexpress and similar websites for very good prices, they all use the ILI**** series LCD controllers and all support 16bit RGB communication,...
Fri. Feb 2, 2018 - 11:25 AM
SPI CS issue on ATtiny816 (ATtiny1 family)
I've used the following code to setup SPI communication & send data commands: void SPIInit(void) { PORTMUX.CTRLB = PORTMUX_SPI0_bm; PORTC.DIRSET = PIN0_bm | PIN2_bm...
Sat. Jan 20, 2018 - 07:07 PM
char view in watch window
I have an input buffer from the UART which holds a string. If I'm adding the array like so: buffer,s I can see the content. If I'm interested to add all the individual cells...
Tue. Jan 9, 2018 - 10:06 AM
Can't disable clock divider in ATtiny816
The clock (20MHz) is divided by 6 by default. I would like to disable the divider so that CLK_PER will also be 20MHz. As far as I could understand from the datasheet the following...
Mon. Jan 8, 2018 - 10:44 PM
Unable to start debug session on ATtiny816 project under Studio7
I have a new project with all the default settings under Studio7, trying to run debug & break brings up the following message: What could cause this?  
Sun. Jan 7, 2018 - 11:15 AM
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...
Sat. Dec 23, 2017 - 05:14 PM
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...
Sun. Dec 17, 2017 - 12:31 AM
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...
Tue. Dec 12, 2017 - 10:02 PM
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...
Tue. Dec 12, 2017 - 12:24 AM
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
Mon. Dec 11, 2017 - 05:49 PM