Type in the full discussion title or a part of it.
Discussion Title Created date
USB video class?
I'm looking into capturing video from a couple of small LCDs built into a device with no video out. I can get the RGB data out of the bus going to the LCDs, however I can't find a...
Thursday, 1 March 2018 - 19:43
When using PROGMEM, how to declare variable in the header file?
lets say I want to define the following in the C file: const uint16_t LCD_W PROGMEM = 240; const uint16_t LCD_H PROGMEM = 320;How I declare them in the header file?
Saturday, 24 February 2018 - 21:01
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 (...
Saturday, 10 February 2018 - 11:06
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...
Saturday, 10 February 2018 - 02:23
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,...
Friday, 2 February 2018 - 11:25
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...
Saturday, 20 January 2018 - 19:07
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...
Tuesday, 9 January 2018 - 10:06
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...
Monday, 8 January 2018 - 22:44
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?  
Sunday, 7 January 2018 - 11:15
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