• Port Pin toggle
    I wrote a code for to toggle the port that is given below #include<reg51.h> sbit CLOCK = P0^2; void main() { while(1) { CLOCK = CLOCK^1; } } its not toggling in the IDE please...
  • Port Pin toggle
    I wrote a code for to toggle the port that is given below #include<reg51.h> sbit CLOCK = P0^2; void main() { while(1) { CLOCK = CLOCK^1; } } its not toggling in the IDE please...
  • 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...