Content in “programming”

All content tagged with or belonging to this tag/category.

Programming Help (PICAXE 28)

jklug80's picture

Below is the code I am trying. I stole it from a book. I figured it was an easy one to start with, but I have a few questions. Can someone explain what TRISB and PORTB are? Also what exactly does POKE do? It looks like it is creating variables LED (at port 0), TRISB and PORTB. When I run the simulator on the code it gives a syntax error on Symbol PORTB = $06 and says Poking at this address is not recommended (POKE TRISB, 0). Can anyone help me understand what this is doing prior to the AGAIN: tag (I put the lines in bold)?

Programming Microcontrollers

TofuRobot's picture

I wanted to make a robot useing a microcontroller. But I have had trouble over time trying to program a microcontroller.

Would it bother anyone to write an article on programming a microcontroller?