Shop OBEX P1 Docs P2 Docs Learn Events
12Blocks- v1.2 launched! - Page 4 — Parallax Forums

12Blocks- v1.2 launched!

124

Comments

  • neotericneoteric Posts: 144
    edited 2009-10-16 15:47
    I really want to try this program! What is the release date?
  • HannoHanno Posts: 1,130
    edited 2009-10-17 02:55
    Today! Still got a couple hours left...
    Hanno

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Co-author of the official Propeller Guide- available at Amazon
    Developer of ViewPort, the premier visual debugger for the Propeller (read the review here),
    12Blocks, the block-based programming environment
    and PropScope, the multi-function USB oscilloscope/function generator/logic analyzer
  • HannoHanno Posts: 1,130
    edited 2009-10-17 09:33
    12Blocks v1.0 is done!

    A huge thanks to everyone who has helped me complete this project- I couldn't have done it without you! Special thanks to Brian, Chad, Jonathan, Mike, Ingolf, Ingrit, Gina, Anja and Kyle. Also, thanks to everyone who has contributed code- it's great to get so much functionality out of the Propeller by standing on the shoulders of giants.

    v1.0 is a giant milestone, but that doesn't mean that things are done. I (and others) are working on additional features, extensions and of course bug fixes. Nevertheless, I've discounted the price for the standard release by $20 for the first 100 customers. A v1.x license gets you free upgrades to all v1.x releases...

    Here's the download page... 12blocks.com/download.php
    More info here:12blocks.com
    Enjoy!
    Hanno

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Co-author of the official Propeller Guide- available at Amazon
    Developer of ViewPort, the premier visual debugger for the Propeller (read the review here),
    12Blocks, the block-based programming environment
    and PropScope, the multi-function USB oscilloscope/function generator/logic analyzer
  • JonathanJonathan Posts: 1,023
    edited 2009-10-17 15:50
    I do mini-sumobots with students often. We mostly use the BS2 model from Parallax. Last year I made a Prop version, but Spin is a little dense for my age group (8-12 yo). So, I showed them the Prop based 'bot, but they didn't really work with it.

    I have been playing with 12 block over the past few days porting my Spin code over to 12 Blocks. Really fun to play with, and I am sure that the younger students will be able to program and play around with 12 Blocks. So now we can use the power of the Prop!!· I'm really excited about this. Now I have to hack 5 or so more protoboards so I have enough Prop powered 'bots. Ugh. ;-0

    Hanno, great product!

    Jonathan

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    www.madlabs.info - Home of the Hydrogen Fuel Cell Robot
  • Mike GreenMike Green Posts: 23,101
    edited 2009-10-17 16:33
    Hanno,
    Congratulations!
    Mike
  • HannoHanno Posts: 1,130
    edited 2009-10-17 22:41
    Thanks Jonathan for the compliment and feedback!
    Thanks Mike for the compliment and purchase- you were customer #1! (Perry and Mike were close behind..)
    Feel free to post feedback- I have think skin...

    If you're missing a block, you can build it yourself with the "Add Block" wizard, this let's you map a new "block" to spin code.

    The interface should be very intuitive, just drag blocks from library to the worksheet to arrange them into a program. Start a program with a "start" block. Use multiple cogs by using multiple "start" blocks. Delete a block by dragging it back to the "library"...

    For advanced users, try right clicking on a block to copy between programs- or right drag to get an immediate copy. Also give the "view" buttons a try to graph variable values, analyze pin states and access the terminal...
    Hanno

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Co-author of the official Propeller Guide- available at Amazon
    Developer of ViewPort, the premier visual debugger for the Propeller (read the review here),
    12Blocks, the block-based programming environment
    and PropScope, the multi-function USB oscilloscope/function generator/logic analyzer
  • neotericneoteric Posts: 144
    edited 2009-10-18 15:42
    This is the easiest software for Propeller. No question! This should be the starter application for all beginners. Build the code with blocks, then look at the spin code. Amazing learning tool.
  • Bill HenningBill Henning Posts: 6,445
    edited 2009-10-18 15:43
    Congrats Hanno!
    Hanno said...
    12Blocks v1.0 is done!

    A huge thanks to everyone who has helped me complete this project- I couldn't have done it without you! Special thanks to Brian, Chad, Jonathan, Mike, Ingolf, Ingrit, Gina, Anja and Kyle. Also, thanks to everyone who has contributed code- it's great to get so much functionality out of the Propeller by standing on the shoulders of giants.

    v1.0 is a giant milestone, but that doesn't mean that things are done. I (and others) are working on additional features, extensions and of course bug fixes. Nevertheless, I've discounted the price for the standard release by $20 for the first 100 customers. A v1.x license gets you free upgrades to all v1.x releases...

    Here's the download page... 12blocks.com/download.php
    More info here:12blocks.com
    Enjoy!
    Hanno
    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Please use mikronauts _at_ gmail _dot_ com to contact me off-forum, my PM is almost totally full
    Morpheus & Mem+dual Prop SBC w/ 512KB kit $119.95, 2MB memory IO board kit $89.95, both kits $189.95
    www.mikronauts.com - my site 6.250MHz custom Crystals for running Propellers at 100MHz
    Las - Large model assembler for the Propeller Largos - a feature full nano operating system for the Propeller
  • HumanoidoHumanoido Posts: 5,770
    edited 2009-10-18 19:17
    Wow! Great job and well accomplished!

    humanoido
  • MicrocontrolledMicrocontrolled Posts: 2,461
    edited 2009-10-19 01:59
    Will this make it to Parallax.com?

    Nice work Hanno!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Computers are microcontrolled.

    Robots are microcontrolled.
    I am microcontrolled.

    But you·can·call me micro.

    Want to·experiment with the SX or just put together a cool project?
    SX Spinning light display·


  • neotericneoteric Posts: 144
    edited 2009-10-23 20:25
    Pumpkin LED flames code. Took no time at all. Not really random, but close...

    Took about 10 minutes. Attach LED to pins 2,3,4 and you are done. Plopped it into the pumpkin....
  • HannoHanno Posts: 1,130
    edited 2009-10-23 22:55
    Neoteric,
    This is great! For people that don't yet have 12Blocks, I've attached a picture of what your code looks like. (I used the "save as" button and saved as type "png". You can also save as .spin, .xml, and .zip) Nice use of repeat loops, and even a custom block!

    I've been busy improving 12Blocks- a not fully tested v1.02 is here: 12blocks.com/12blocks102.exe
    It has:
    - if else block can have any number of elseifs
    - left drag to "lasso" select multiple items- even multiple blocks
    - cut/copy/paste using windows clipboard- allows you to paste between files, or paste as "spin text" to notepad/propeller tool
    - fixed some minor visual issues, nested ifs...

    Happy "12blocking"!
    Hanno

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Co-author of the official Propeller Guide- available at Amazon
    Developer of ViewPort, the premier visual debugger for the Propeller (read the review here),
    12Blocks, the block-based programming environment
    and PropScope, the multi-function USB oscilloscope/function generator/logic analyzer
    936 x 372 - 35K
  • Cluso99Cluso99 Posts: 18,069
    edited 2009-10-24 05:45
    Hanno - that looks great smile.gif Any chance you can also post the .spin code (as a formatted code insert) so others can easily see what it generates -it's fantastic.
    BTW I would do it but on the wrong computer - I did look at the .12b with Notepad. Nice smile.gif

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Links to other interesting threads:

    · Home of the MultiBladeProps: TriBlade,·RamBlade,·SixBlade, website
    · Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator)
    · Prop Tools under Development or Completed (Index)
    · Emulators: CPUs Z80 etc; Micros Altair etc;· Terminals·VT100 etc; (Index) ZiCog (Z80) , MoCog (6809)
    · Search the Propeller forums·(uses advanced Google search)
    My cruising website is: ·www.bluemagic.biz·· MultiBladeProp is: www.bluemagic.biz/cluso.htm
  • StefanL38StefanL38 Posts: 2,292
    edited 2009-10-24 07:14
    if Hanno don't mind I'll post the code here

    {{Use this with a Parallax Demoboard.  It's very flexible- it includes audio, video, mouse, keyboard
    eeprom, and a protoype area.
    
    <name></>
    <description></>
    <schematic>
    
    </>
    <hardware></>
    <objects></>
    <images></>
    }}
    CON
      _clkmode = xtal1+pll16x
      _xinfreq = 5_000_000       '80 MHz
      _motorlpin=0  'Left motor
      _motorrpin=1  'Right motor
      _micpin=8     'Microphone 
      _mic2pin=9    'Microphone Dac
      _iranodepin=1 'Common anode of ir distance sensors, driven with 38khz signal  
      _audiolpin=10 'Audio Left
      _audiorpin=11 'Audio Right
      _videopin=12  'Video
      _video2pin=13 'Video
      _video3pin=14 'Video
      _video4pin=15 'Video  
      _mousedpin=24 'Mouse Data
      _mousecpin=25 'Mouse Clock
      _keydpin=26   'Keyboard Data
      _keycpin=27   'Keyboard Clock
      _eepromDpin=28 'Eeprom Data
      _eepromCpin=29 'Eeprom Clock   
      _vppin=30     'ViewPort Conduit
      _vp2pin=31    'ViewPort Conduit
      #0
      
    OBJ
       _bs:"bs"
       _vp            :"Conduit"  'conduit
       
    VAR
      long _io
      long c
      long counter
      long d
      long a
      long b
      long x
      long y
      
    pub _main|_s_pub0[noparse][[/noparse]40],_s_pub1[noparse][[/noparse]40],_s_pub2[noparse][[/noparse]40]
      _vp.config(string("var:io(bits=[noparse][[/noparse]30tx,31rx,2p2,1p1,3p3,0p0,4p4]),c,counter,d,a,b,x,y"))
      _vp.config(string("terminal:1"))
      _vp.config(string("lsa:view=io,timescale=1ms"))
      _vp.config(string("overview:view=[noparse][[/noparse]c,counter,d,a,b,x,y]"))
      _vp.config(string("dso:view=c"))
      _vp.share(@_io,@y)
    
      'initialize global objects and call global start blocks
    
    _bs.start(28,29)
    cognew(_pub0,@_s_pub0)
    cognew(_pub1,@_s_pub1)
    cognew(_pub2,@_s_pub2)
      repeat
        _io:=ina
        
    pub _broadcast(msg)
      case msg
        -1:
        
    pub _broadcastsync(msg)
      case msg
        -1:
    
    'other public functions
    pub _pub0'*(42,44):cognew($0,@_s$0)
     repeat while true'*:repeat while $
      repeat c from 1 to 255 step 1'*1:repeat $ from $ to $ step $
       counter:=c'*1:$:=$
       {random c}'*:{$}
       if counter>127'*:if $
        counter:=127'*1:$:=$
       repeat d from counter to 75 step -1'*:repeat $ from $ to $ step $
        _bs.pwm_set(2,d,8)'*1:_bs.pwm_set($2,$1,8)
        _bs.pause(10)'*:_bs.pause($)
       _bs.toggle(2)'*:_bs.toggle($)
       
    pub _pub1'*(355,52):cognew($0,@_s$0)
     repeat while true'*:repeat while $
      repeat a from 1 to 255 step 1'*1:repeat $ from $ to $ step $
       counter:=a'*1:$:=$
       {random a}'*:{$}
       if counter>127'*:if $
        counter:=127'*1:$:=$
       repeat b from counter to 75 step -1'*:repeat $ from $ to $ step $
        _bs.pwm_set(1,b,8)'*1:_bs.pwm_set($2,$1,8)
        _bs.pause(10)'*:_bs.pause($)
       _bs.toggle(3)'*:_bs.toggle($)
       
    pub _pub2'*(668,69):cognew($0,@_s$0)
     repeat while true'*:repeat while $
      repeat x from 1 to 255 step 1'*1:repeat $ from $ to $ step $
       counter:=x'*1:$:=$
       {random x}'*:{$}
       if counter>127'*:if $
        counter:=127'*1:$:=$
       repeat y from counter to 75 step -1'*:repeat $ from $ to $ step $
        _bs.pwm_set(0,y,8)'*1:_bs.pwm_set($2,$1,8)
        _bs.pause(10)'*:_bs.pause($)
       _bs.toggle(4)'*:_bs.toggle($)
    'data
    DAT
    
    



    @Hanno from looking at the code. Of course as long as the ode is only used by 12blocks it doesn't matter what names the PUBs have.

    What do you think about some kind of a naming feature that the blocks can get a name like an Excel-cell can contain a small note in the backround
    popping up when the mouse-arrow is above the cell.

    12blocks would use these names as comments or as the PUB's name depending one the code that is generated

    best regards

    Stefan

    Post Edited (StefanL38) : 10/24/2009 7:20:05 AM GMT
  • Cluso99Cluso99 Posts: 18,069
    edited 2009-10-24 12:25
    Stefan: Thanks for posting the code.

    Doesn't it look great - all this automatically created by 12 Blocks smile.gif

    Hanno: I thought I was mising some of the indentation when looking with Notepad, but I see the same·in Stefan's post. The section
      'initialize global objects and call global start blocks
    
    _bs.start(28,29)
    cognew(_pub0,@_s_pub0)
    cognew(_pub1,@_s_pub1)
    cognew(_pub2,@_s_pub2)
      repeat
    
    

    looks like the _bs.start and the following·3 cognews are missing indentation ???

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Links to other interesting threads:

    · Home of the MultiBladeProps: TriBlade,·RamBlade,·SixBlade, website
    · Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator)
    · Prop Tools under Development or Completed (Index)
    · Emulators: CPUs Z80 etc; Micros Altair etc;· Terminals·VT100 etc; (Index) ZiCog (Z80) , MoCog (6809)
    · Search the Propeller forums·(uses advanced Google search)
    My cruising website is: ·www.bluemagic.biz·· MultiBladeProp is: www.bluemagic.biz/cluso.htm
  • neotericneoteric Posts: 144
    edited 2009-10-24 14:54
    You can create your own blocks. I intend to create a randomize block. But even without it, the flicker is very realistic.
  • HannoHanno Posts: 1,130
    edited 2009-10-30 20:06
    v1.1 coming in next couple days... Lots of goodies, including the ability to easily use state machines!
    Here an example where one state machine is used to control a "sumo" robot, by turning until it finds its opponent and then rushing while it continues to see the opponent. State machines can be used for lots of things- see also the beginnings of ethernet machine.
    Read more about state machines here:
    en.wikipedia.org/wiki/Finite-state_machine
    state.png
    Hanno

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Co-author of the official Propeller Guide- available at Amazon
    Developer of ViewPort, the premier visual debugger for the Propeller (read the review here, thread here),
    12Blocks, the block-based programming environment (thread here)
    and PropScope, the multi-function USB oscilloscope/function generator/logic analyzer
    533 x 263 - 19K
  • SapiehaSapieha Posts: 2,964
    edited 2009-10-30 20:34
    Hi Hanno.

    Cant You have Start buton in same dimensions as "When in state" and have in it 2 Variables than we can fill with XTal and PLLxx.

    Regards
    ChJ

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Nothing is impossible, there are only different degrees of difficulty.
    For every stupid question there is at least one intelligent answer.
    Don't guess - ask instead.
    If you don't ask you won't know.
    If your gonna construct something, make it·as simple as·possible yet as versatile as posible.


    Sapieha
  • Mike HuseltonMike Huselton Posts: 746
    edited 2009-10-30 22:35
    Hanno,

    You have outdone even the high standards you have set for yourself.

    Bravo!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    JMH
  • HannoHanno Posts: 1,130
    edited 2009-10-31 01:57
    Hi Sapieha,
    Instead of storing hardware information in the program, 12Blocks keeps hardware definition files in the "hardware" directory. This is where advanced users can specify xtal and plxx as well as customize the pin mapping to suit their hardware. For example, altering the tx/rx pins, or specifying where the mouse/keyboard are connected to the Propeller. From 12Blocks, normal users can click "more/hardware" and pick the hardware they wish to compile against. Currently, the directory contains a definition for the Parallax DemoBoard, and a "Basic Bot"- as well as a simulator which will let people run 12Blocks without any hardware- more about that later. 12Blocks is very generic, so in the future, the hardware directory may include other chips- Arduino? Keeping hardware details out of the users program will hopefully make it easier for beginners to share programs- even if they're using different hardware.

    Thanks James! Chad inspired the state block feature- he's a real treasure. I just added 3 blocks to make it happen- didn't even take that long...

    Hanno

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Co-author of the official Propeller Guide- available at Amazon
    Developer of ViewPort, the premier visual debugger for the Propeller (read the review here, thread here),
    12Blocks, the block-based programming environment (thread here)
    and PropScope, the multi-function USB oscilloscope/function generator/logic analyzer
  • SRLMSRLM Posts: 5,045
    edited 2009-10-31 03:14
    A technicality here, but is the screenshot posted technically a state machine? I'm learning about them in school right now, and basically what we learned is that each state is essentially "constant", and it is changes between states that make output changes. From the screenshot posted, it looks like the "if"s in find and attack should instead be in their own state (or rather the transition to a new state).
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2009-10-31 03:27
    SRLM,

    There are two kinds of state machines: Moore and Mealy. In Moore state machines, the output is a function of the state itself. In Mealy state machines the output, as you've stated, is associated with a transition to the next state (i.e. a function of both the state and the input). The two, both being finite-state automata, are equivalent in their capabilities.

    -Phil

    Edit: Added citations.

    Post Edited (Phil Pilgrim (PhiPi)) : 10/31/2009 3:33:10 AM GMT
  • Cluso99Cluso99 Posts: 18,069
    edited 2009-10-31 03:47
    Hanno: A fantastic product keeps on getting better - congratulations again smile.gif

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Links to other interesting threads:

    · Home of the MultiBladeProps: TriBlade,·RamBlade,·SixBlade, website
    · Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator)
    · Prop Tools under Development or Completed (Index)
    · Emulators: CPUs Z80 etc; Micros Altair etc;· Terminals·VT100 etc; (Index) ZiCog (Z80) , MoCog (6809)
    · Search the Propeller forums·(uses advanced Google search)
    My cruising website is: ·www.bluemagic.biz·· MultiBladeProp is: www.bluemagic.biz/cluso.htm
  • HannoHanno Posts: 1,130
    edited 2010-02-19 19:58
    Version v1.2 is ready! Get it here: 12blocks.com
    There's an article in the Parallax Newsletter- "The Parallaxian":www.parallax.com/tabid/581/Default.aspx
    Hanno

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Co-author of the official Propeller Guide- available at Amazon
    Developer of ViewPort, the premier visual debugger for the Propeller (read the review here, thread here),
    12Blocks, the block-based programming environment (thread here)
    and PropScope, the multi-function USB oscilloscope/function generator/logic analyzer
  • hover1hover1 Posts: 1,929
    edited 2010-02-19 21:44
    Great News!

    Glad you are adding to the product. Is there a list of·upgrades and/or bug fixes?

    I'll play with it this weekend.

    Jim
    Hanno said...
    Version v1.2 is ready! Get it here: 12blocks.com
    There's an article in the Parallax Newsletter- "The Parallaxian":www.parallax.com/tabid/581/Default.aspx
    Hanno

  • HannoHanno Posts: 1,130
    edited 2010-02-19 21:55
    Most important is the new "interface" section of the library- it allows you to build a user interface right in your code worksheet... More later...
    Hanno

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Co-author of the official Propeller Guide- available at Amazon
    Developer of ViewPort, the premier visual debugger for the Propeller (read the review here, thread here),
    12Blocks, the block-based programming environment (thread here)
    and PropScope, the multi-function USB oscilloscope/function generator/logic analyzer
  • SapiehaSapieha Posts: 2,964
    edited 2010-02-19 21:57
    Hi Hanno.


    LOOK's Very GOOD

    Regards
    Christoffer J

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Nothing is impossible, there are only different degrees of difficulty.
    For every stupid question there is at least one intelligent answer.
    Don't guess - ask instead.
    If you don't ask you won't know.
    If your gonna construct something, make it·as simple as·possible yet as versatile as posible.


    Sapieha
  • HannoHanno Posts: 1,130
    edited 2010-02-22 01:01
    Thanks Sapieha,

    Here's a list of new features in v1.2!
    Interface Changes:
    Tabbed Interface: open multiple documents and easily drag blocks between them
    Welcome View: friendly links to tutorial, existing programs and more. Can be disabled
    Linked Worksheets: open a file a second time to create a “link”- letting you easily work on multiple parts of a worksheet
    Hover Help: friendly description of a block’s usage when you hover over it.
    Enumeration Type: parameters like color, rotation, key are “enumerations”- you pick from a list or type an expression
    Mouse gestures: Right drag to copy a block, Right click on a block to cut/copy/delete all blocks below, Right click on the worksheet to paste, Left drag to “lasso” select blocks.
    Block Properties: Right click on block and select “Properties” to view/change them


    New Blocks:
    Spin Code Block: to include spin code in your 12Block program, just use this block
    Comment Block: include this block to comment your code- you can include links using description
    State Machine Blocks: easily include state machines in your projects with: “run state machine”, “set state to”, “when in state” blocks.
    Serial Communication Blocks: transmit and receive data using RS232 or by shifting data in/out with configurable parameters.
    Servo Blocks: servos can be set to a target, ramped over time, or idled.
    Sense Blocks: support for PING, QTI, IR distance,

    Interface Blocks: built an interface for your project using these blocks. Use the “Background” to define the look of your application. All blocks can be arranged by drag/drop. Drag the lower right corner to resize interface blocks. Right click interface blocks to edit their properties. Add items like “textbox”, “meter”, “joystick”, “switch” on top to monitor variables in your program or change them to control how your program behaves. Built your own blocks using the included API. Save your file as “EXE” to create a singe stand-alone executable- capable of being run on a separate computer where it’ll load the firmware to the Propeller, establish a connection, and show your user interface

    Hanno

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Co-author of the official Propeller Guide- available at Amazon
    Developer of ViewPort, the premier visual debugger for the Propeller (read the review here, thread here),
    12Blocks, the block-based programming environment (thread here)
    and PropScope, the multi-function USB oscilloscope/function generator/logic analyzer
  • CapdiamontCapdiamont Posts: 218
    edited 2010-02-24 05:15
    Very nice program, I haven't had much time to play with it yet. New baby and all.

    I have a question, the interface blocks. I gather that they are only for use with a computer(usb), vs vga, tv, or web interfaces(I can dream)?
  • HannoHanno Posts: 1,130
    edited 2010-02-25 01:06
    Congrats on the new baby! First 6 months are rough especially for the man- little sleep, lots of changes, and little reward. It get much better when they start sitting up around 6 months!

    Yes, right now the interface blocks are there to let you build a "user interface" for your Propeller projects. Rather than spending your time soldering up buttons, switches, lights and displays to the Propeller- do it in software! For example, the PropScope is simple and sleek- just 2 input BNC's for measuring analog signals, the expansion card, and a USB connection. All the input dividers, ac coupling, timescale.... are controlled by the PC's user interface. I think this is the future for embedded systems- a USB plug coupled with a PC program.

    12Blocks let's you create both the firmware and the PC software to control your projects. Just "save as exe" to create a single standalone file that includes the compiled firmware, the Propeller loader, communication protocol, and graphical user interface. Take a look at the "userinterface" program in the tutorials folder of your install.

    Right now the interface blocks are for a PC that's directly connected to the Propeller. There are blocks in the "graphics" section of the library that allow you to output text, shapes, sprites and vector drawings to vga and tv. Finally, 12Blocks already includes a DDE server/client that allow you to interface with languages like: VB.NET, C#, Matlab, Delphi, python- see the client toolkit here: hannoware.com/viewport/clients.php

    A powerful API is in the works- allowing 12Blocks to support other hardware/software like the Mindstorm NXT and Java. This includes a built-in http server. More details when that's ready...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Co-author of the official Propeller Guide- available at Amazon
    Developer of ViewPort, the premier visual debugger for the Propeller (read the review here, thread here),
    12Blocks, the block-based programming environment (thread here)
    and PropScope, the multi-function USB oscilloscope/function generator/logic analyzer
Sign In or Register to comment.