118Views5Replies

Author Options:

what's this programming code language? Answered


i found a code for a pic16f28A it's simple:

main:
 lablel0:
  switch off 3
  switch on 0
  pause 1000
  switch on 1
  switch off 0
  pause 1000
  switch on 2
  switch off 1
  pause 1000
  switch on 3
  switch off 2
  goto label0

Tags:codepic

5 Replies

user
steveastroukBest Answer (author)2011-09-03
user
top.boy (author)steveastrouk2011-09-03

i didn't know that "pic basic" is a language
if it was a language then what program would turn it to hex?

Select as Best AnswerUndo Best Answer

user
steveastrouk (author)top.boy2011-09-03

http://www.mecanique.co.uk/products/compiler/pbp.html

Select as Best AnswerUndo Best Answer

user
rickharris (author)2011-09-03

Convert to hex? Not really I guess you want to programme a bare PIC controller with this sequence.

1. Learn how to do that using assembler language.
2. Compile to produce a hex file

OR

use a picaxe which used similar basic type commands -- www.picaxe.com

Select as Best AnswerUndo Best Answer

user
rickharris (author)2011-09-03

A form of basic commonly used to programme PIC type micro controller.

Select as Best AnswerUndo Best Answer