Shop OBEX P1 Docs P2 Docs Learn Events
YAT--yet another test — Parallax Forums

YAT--yet another test

BRBR Posts: 92
edited 2008-12-29 23:01 in General Discussion
This is a test...

This is a URL link...

This is a code snippet...
CON
  _clkmode        = xtal1 + pll16x    ' System clock → 80 MHz
  _xinfreq        = 5_000_000

OBJ
   
  debug: "SerialMirror"        'Same as fullDuplexSerial, but can also call in subroutines
  filter: "filters"            'filter functions

  
PUB Init

  'Start FullDuplexSerial.
  waitcnt(clkfreq * 5 + cnt)
  Debug.start(31, 30, 0, 57600)
  Debug.Str(String("MSG,Initializing...",13))
  Debug.Str(String("LABEL,time,timer,x_meas,x_filt,ticks,bwidth, sig",13))
  Debug.Str(String("CLEARDATA",13))
  main





...here's the same thing using Phil's code formatter...

[b]CON[/b]
  [b]_clkmode[/b]        = [b]xtal1[/b] + [b]pll16x[/b]    ' System clock → 80 MHz
  [b]_xinfreq[/b]        = 5_000_000

[b]OBJ[/b]
   
  debug: "SerialMirror"        'Same as fullDuplexSerial, but can also call in subroutines
  filter: "filters"            'filter functions

  
[b]PUB[/b] Init

  'Start FullDuplexSerial.
  [b]waitcnt[/b](clkfreq * 5 + [b]cnt[/b])
  Debug.start(31, 30, 0, 57600)
  Debug.[b]Str[/b]([b]String[/b]("MSG,Initializing...",13))
  Debug.[b]Str[/b]([b]String[/b]("LABEL,time,timer,x_meas,x_filt,ticks,bwidth, sig",13))
  Debug.[b]Str[/b]([b]String[/b]("CLEARDATA",13))
  main





Hmmm...why does it think ".str" should be bolded?...doesn't show up that way in prop tool...beggars can't be choosers, I guess.

Let's try a sentence w/o carriage return to see what line wrapping does. Let's try a sentence w/o carriage return to see what line wrapping does. Let's try a sentence w/o carriage return to see what line wrapping does. Let's try a sentence w/o carriage return to see what line wrapping does. Let's try a sentence w/o carriage return to see what line wrapping does. Let's try a sentence w/o carriage return to see what line wrapping does. Let's try a sentence w/o carriage return to see what line wrapping does. Let's try a sentence w/o carriage return to see what line wrapping does.

A list:
  • Mary
  • She had a little lamb
  • The fleece of aforementioned lamb was white as snow
  • And a propensity to follow Mary anywhere
  • And everywhere she may go


...and finally, here's a post-edit.

Post Edited (BR) : 12/29/2008 11:15:48 PM GMT
Sign In or Register to comment.