• Toggle Port C Pin
    Hello, I am trying to toggle the Port C Pin 0 using the debugger (No eval board attached) for the device STM32F407 with the following code: #include "stm32f4xx_hal.h" void delay() { for...
  • Repeated pin toggling is not executing
    I am trying to write my own FLASH programmer on a Cypress USB 8051 chip that will program a SiLabs 8051 using their C2 Interface. I have written a macro that simply sets a pin low in the first statement...
  • Problem toggling port pin inside ISR
    I am using one of the 8051 external capture ports to generate an interrupt. My code enters and returns from the ISR just fine until I add a line to toggle an unused external port pin. For some reason...
  • toggling port pins through an element in a structure
    Here is what I am trying to do: sbit PORT_1_0 = P1^0; void main () { PORT_1_0 = 1; while(1) { PORT_1_0 =~ PORT_1_0; } } Now this is as simple as it gets. The question is, is it possible...
  • Cortex-m4 -Booting and toggling pins
    Note: This was originally posted on 16th October 2012 at http://forums.arm.com So i got my hands on a stm32f4 - discoveryboard wich contains a cortex-m4? (correct me if i am wrong) so my first question...