Type in the full discussion title or a part of it.
Discussion Title Created date
development board to start learning ARM
I want to start learning ARM and I found these in a store but I cant choose which should I buy: Name Processor ARM Core Max Clock (MHz) Program Memory (KB) SRAM (KB)...
Wednesday, 24 February 2021 - 08:11
Comparing two preprocessor macros
#define DEV_PORT PORTC #if DEV_PORT == PORTB #define PCI PCIE0 #define PCMSK PCMSK0 #define PCINT_VECT PCINT0_vect #elif DEV_PORT == PORTC #define PCI PCIE1 #define PCMSK...
Saturday, 13 February 2021 - 13:35
Using matplotlib
I decided to learn and use matplotlib. Here is the first question:   I get the following string from serialPort.readline(): b'\x01 \x01 \x01 \x03\xff \x03\xff\r\n'How should...
Friday, 12 February 2021 - 15:17
Serial port plotter
I want to plot some data received from serial port. Arduino IDE serial plotter is really basic. You may say "Just Google it; you'll find a lot of them". I agree, and this is the...
Friday, 12 February 2021 - 11:41
gcc vs XC8 for AVR
As you know, XC8 also supports AVR devices. I wonder how is its PRO version compared to gcc? I didn't have good experience with MPLAB X IDE and XC8 free 2.20 on my PIC...
Wednesday, 2 December 2020 - 06:42
register definition in MCU header file: PIC vs AVR
pic18f14k50.h: // Register: PORTC #define PORTC PORTC extern volatile unsigned char PORTC __at(0xF82); #ifndef _LIB_BUILD asm("PORTC equ 0F82h"); #endif...
Tuesday, 27 October 2020 - 05:59
need suggestion for wireless connection...
Till today, I used wired connections (USART, USB, I2C, SPI,...). I want to use wireless connection in my next project. I have some devices with some controls on them. If user...
Thursday, 22 October 2020 - 06:07
ATmega328P: 20MIPS or 16MISP?
Atmel 2015 datasheet for ATmega328P: Microchip 2020 datasheet for ATmega48A/PA/88A/PA/168A/PA/328/P: Which is true? Is it depending on date of manufacture? Or I can use...
Wednesday, 21 October 2020 - 08:52
do{ } while(0)???!!!
I found it in avr/wdt.h: #define wdt_disable() \ do { \ uint8_t temp; \ __asm__ __volatile__ ( \ "wdr" "\n\t" \ "out %[ccp_reg], %[ioreg_cen_mask]" "\n\t" \ "lds %[tmp...
Tuesday, 20 October 2020 - 07:57
pointer to array of strings
typedef struct { const char *title; const WHAT items; const uint8_t itemsCount; } myType; myType a = { "AVR FREAKS", WHAT, 2 } doSomething(a.items[1]);"...
Tuesday, 13 October 2020 - 15:26
convert C to C++ project
I'm design menus for my device. Each menu has a title, some main options and two menu-navigation options. Implementing such thing using OOP structure is really easy. So I...
Wednesday, 7 October 2020 - 12:58
Adjusting LCD contrast by PWM
I want to adjust LCD contrast using PWM. Waveform generated using a 8-bit timer running at 16MHz (no prescaler) in fast PWM mode. If I connect PWM pin directly to V0, sometimes...
Sunday, 4 October 2020 - 16:59

Pages