Have you code with compile and run instructions?zmalsberg wrote: ↑Sun May 12, 2019 6:16 amSorry for necroposting, but after trying both of the listed solutions on my 3B+ (changing base address value, swapping header definitions with joan's linked updated file) I simply cannot get 'nanopulse.c' to work on any GPIO. Been having a tough time with pigpio in general trying create a sub-pulse waveform with 'wvcha'; the first time I called this command on GPIO4, it seemed to permanently insert a ceaseless wave pattern onto the pin. No amount of clearing, stopping, killing pigpiod, restarting or unplugging seems to make stop it. "pigs s 4 0" makes it halt briefly, but then the pattern resumes on my oscilloscope within seconds. I remember reading Raspbian Lite has issues... Is an OS wipe in order, or are there any solutions for such things?
Code: Select all
#define BCM2708_PERI_BASE 0x20000000 #define GPIO_BASE (BCM2708_PERI_BASE + 0x200000)