• 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...
  • 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...
  • 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...
  • 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...