Questions tagged [pointers]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
13 views

Arduino esp01 UART connected server with driver

I have a project of WiFi oven driver and I would like to know if I don't overcomplicate any aspects. Or are there any existing tools for what I'm trying to do. I decided, to connect mentioned devices -...
0
votes
0answers
22 views

Will the following ATSAMD21 series code properly configure SysTick interrupt?

I haven't seen any examples of registering ISRs in Atmel Studio 7, but I've given the following code a go in my IDE. ...
0
votes
1answer
32 views

XC8 Pic function ptrs looks optimized away

The problem is - new_handler in OWT_RegistrateHandler always equals &_DummyHandler and i ...
0
votes
0answers
86 views

Why bad data is read from SPI Flash

I have a device in which there is a SPI flash and a I2C EEPROM, W25Q256JV (32MB) and AT24C1024 (1MB) respectively. The MCU writes data packets in the flash fifo and saves its read write pointers in ...
1
vote
0answers
174 views

PIC18F4550 - Display 16X4 and menu with more than 4 items

I need to print a list of items of a menu in a 16x4 LCD using a PIC18F4550. I already did it using MPLABX and XC8 compiler and it worked fine, however, I need to migrate it to mikroC environment. But, ...
0
votes
1answer
103 views

Using pointer of a function's returned value

I would like to know if there are possibilities to change the following code: ...
2
votes
1answer
92 views

Using Pointers to implement a filter

I'm trying implement a fairy basic filter, and right now I have just some simple test code for me to enter in values. It errors out on the line when it gets to where I call the function I have written....
-1
votes
2answers
140 views

STM32F4 series: what does the '->' operator? [closed]

Reading some C files related to programming an STM32F4 series Arm controller, I found the following instruction: ...
0
votes
1answer
191 views

C Language Pointers Question [closed]

Not sure if this is the correct place to post a programming based question so will have a go anyway. Attached below is a piece of code and a table where I have to fill in the blanks. Just to clarify, ...
2
votes
3answers
265 views

Reading char values, returning 16 and 8 bit values?

I'm reading a internal memory block, im declaring a tracking variable and the start address and end address of the block" ...
0
votes
4answers
678 views

pointers to access memory

A quick answer required ! #define PortA_Data (*(volatile unsigned long*)0x40004000) here in this example I linked PortA_Data with an address, can any body ...
3
votes
1answer
233 views

Memory deallocation exception when using free()

I am currently working on a project that requires some allocation and deallocation of large arrays on a PIC32MX775. I have a dedicated heap memory size of 1500 bytes, which should be more than ...
1
vote
1answer
73 views

PIC - Accessing udata through pointer in another file

So I have a list of clockings in my udata in, let's say, clock.c. I have read that udata has to be accessed through a pointer, well okay, fair enough. Above ...