Author Topic: Help with my PICaxe  (Read 2007 times)

0 Members and 1 Guest are viewing this topic.

Offline CaduscusTopic starter

  • Jr. Member
  • **
  • Posts: 33
  • Helpful? 0
  • PWN3D!!!
Help with my PICaxe
« on: June 22, 2008, 12:12:56 PM »
ok I just got my micrcontroller yesterday the Picaxe 08M but I have no programming experience at all...except batch files...I know how to make the pins High and Low after certain times, but how can I integrat sensors and motors together with this? *please post code*

I know it's really simple programming but if you could post a code for me or find a tutorial that would be great help... :D

Offline Bajanick

  • Full Member
  • ***
  • Posts: 49
  • Helpful? 0
Re: Help with my PICaxe
« Reply #1 on: June 22, 2008, 12:28:14 PM »
Doesnt their website have sample code and info?

http://www.rev-ed.co.uk/picaxe/


Offline CaduscusTopic starter

  • Jr. Member
  • **
  • Posts: 33
  • Helpful? 0
  • PWN3D!!!
Re: Help with my PICaxe
« Reply #2 on: June 22, 2008, 01:03:32 PM »
Well yeah, but they have samples from projects totally diffrent from mine... and they don't have a tutorial they just expect you to know how to program... :(

Offline R.O.B. 2.0

  • Jr. Member
  • **
  • Posts: 28
  • Helpful? 1
Re: Help with my PICaxe
« Reply #3 on: June 23, 2008, 03:12:37 PM »
Using sensors:

Know the I/O pin number, then if it is high or low you want, then what you want it to do.
For example:

main:
if 3 = 1 then goto blink
goto main

blink:
high 2
pause 2000
low 2
goto main

 


Get Your Ad Here

data_list