I am trying to visualize the main while loop and the way it works. I have written some code that toggles a PIN and then attached an oscilloscope to visualize the output. It was not a very nice one - it definitely did not look the same as I would get from a global interrupt. Something like this...
Index of MSP430 Launchpad programming examples in C. Introduction to C language programming using IAR Embedded Workbench IDE. Includes LED flashing, GPIO, Timer module, interrupts, 7-segment LED displays, LCD, UART, ADC, IR decoder and more.
MSP430 Tutorial - Index
#1 MSP430 Tutorial - Getting...
Hello guys,
I am currently working with a mircocontroller for the first time. My goal is to achieve a PWM-signal (1kHz). While trying to generate the signal I encountered the problem that my signal seems to be moving horizontal due to inconsistancy in time up to 100 µs. The goal was to...
Hail to thee;
I'm utterly beginner in C programming, and i made two codes using MikroC PRO, and i'm seeking out your help to make the two of them working in the main time.
the first code is just an A/D conversion and display the result on an LCD. with some conditions on account of commanding a...
I'm tryng to make a DC motor into a servo motor. The motor axle has a gear that is in sync with a gear on a potentiometer (MOTORPOT in the code) and I have another potentiometer that works as an input that the motor potentiometer should match in position however I set this pot(CONTROLPOT in...
Hi all,
I'm new to microcontroller programming. I would like to ask how do I display multiple keys on my LCD display. An example is I want to show "123456". Below is the codes I'm using. I am using PIC18F4520 and this is my LCD datasheet. Thanks in advance!
#include <xc.h>
void...