Type in the full discussion title or a part of it.
Discussion Title Created date
Using a pro mini module as a breakout board - code not executed
I have a clone of the Ardiono pro mini and I'm trying to run some code on it. I can connect, burn and verify the code - however it will not execute. Any suggestions?
Sunday, 8 April 2018 - 16:14
Correct usage of macros for selective compiling
I need to port code between two AVRs, I would like to keep using the same files and just compile the required init for different modules according to the selected AVR model....
Saturday, 31 March 2018 - 17:25
9 bit SPI on ATmega
I'm trying to interface with an LCD that requires a 9th bit before the data byte (to indicate if content is data or command). What would be the best way to implement this?...
Thursday, 29 March 2018 - 18:56
Multiple headers including a 3rd header file - best practice?
Let's say I have a header file SPI.h which holds declarations for SPI functions and it included in two other header files: LCD.h & SRAM.h.   In main.c: ... #include LCD....
Tuesday, 27 March 2018 - 09:08
Make SPI large transfers more efficient?
Using an ATtiny816 with serial RAM by Microchip. I need to store large amounts (relatively speaking) on the external RAM and read back large amounts of data. The data is generated...
Monday, 19 March 2018 - 09:01
ILI9341 Vertical scrolling bug in software - but where?
I'm writing text to an LCD, new text appears on the last line of the LCD. The content is shifted upwards by the same number of lines as the new text. In order to make sure the...
Monday, 5 March 2018 - 01:59
How to avoid this ESP8266 / LCD / AVR UART glitch easily?
I have a PCB with an ESP8266 + graphic LCD and an ATtiny816.   The init phase on the main file looks like so: int main(void) { CLOCKSet20MHZ(); UARTInit(); SPIInit();...
Friday, 2 March 2018 - 09:32
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