A Flash Developer Resource Site

Results 1 to 9 of 9

Thread: Nano sized handheld development

  1. #1
    Member Alloy Bacon's Avatar
    Join Date
    Apr 2011
    Posts
    1,104

    Nano sized handheld development

    Hello, I am looking for interested flash programmers to produce these nano sized handhelds, its c++ pixel by pixel graphics basically similar to flash.

    I will send you a free screen + computer + wires for testing if you want to join, minus the programmer dock, is $15
    room for 9 flashkit programmers to join.

    So the device can be a very tiny keychain handheld and with custom housing, battery, buttons joystick,computer,screen, gyroscope. I calculated that we can produce each nano handheld for about $11. But obviously this is alot of software skills involved to put together and produce so the actual price we can sell each one for is $50.



    This is all that is needed, the computer is only on the dock for programming.



    features:
    • gyroscope
    • bluetooth le
    • wifi
    Last edited by Alloy Bacon; 01-06-2021 at 04:11 AM.

  2. #2
    Member Alloy Bacon's Avatar
    Join Date
    Apr 2011
    Posts
    1,104

  3. #3
    Member Alloy Bacon's Avatar
    Join Date
    Apr 2011
    Posts
    1,104
    This is what feels possible so far and how it should look.

    Last edited by Alloy Bacon; 01-07-2021 at 09:30 PM.

  4. #4
    Member Alloy Bacon's Avatar
    Join Date
    Apr 2011
    Posts
    1,104
    This is the new parts list and update to the design of the 'flashkette' handheld


  5. #5
    Member Alloy Bacon's Avatar
    Join Date
    Apr 2011
    Posts
    1,104
    This is the new parts list and update to the design of the 'flashkette' handheld

    Last edited by Alloy Bacon; 01-10-2021 at 06:22 AM.

  6. #6
    Member Alloy Bacon's Avatar
    Join Date
    Apr 2011
    Posts
    1,104

  7. #7
    Member Alloy Bacon's Avatar
    Join Date
    Apr 2011
    Posts
    1,104
    r,g,b bitwise operation for the 240x240px display:

    PHP Code:
    //red = 0-255, green = 0-255, blue = 0-255
    var colour red << 11 green << blue 
    Last edited by Alloy Bacon; 01-13-2021 at 03:19 PM.

  8. #8
    Member Alloy Bacon's Avatar
    Join Date
    Apr 2011
    Posts
    1,104
    Alright i'm releasing the script for the handheld.

    The adobe colour palette (32bit) or .getPixel in actionscript 3.0 is equal to the conversion this
    function below uses for the handheld to display the same colour.

    PHP Code:
    function hex32BitToHex16bit(colour){
    var 
    = (colour >> 16) & 0xFF;
    var 
    = (colour >> 8) & 0xFF;
    var 
    colour 0xFF;
    >> 3;
    >> 2;
    >> 3;
    var 
    rgb565 = (<< 11) ^ (<< 5) ^ b;
    return 
    rgb565;
    }
    trace(hex32BitToHex16bit(0x370640)) 
    I did a test to send each pixel from the as3 socket > serial socket pipe @ 2 million baud > handheld project connected via usb, & it worked successfully.
    Last edited by Alloy Bacon; 01-14-2021 at 05:30 AM.

  9. #9
    Member Alloy Bacon's Avatar
    Join Date
    Apr 2011
    Posts
    1,104
    This is the function made below to output the 240x240.png image of flash to the 240x240px handheld display with proper colours converted to 16bit.
    PHP Code:
    function hex32BitToHex16bit(colour){
    var 
    = (colour >> 16) & 0xFF;
    var 
    = (colour >> 8) & 0xFF;
    var 
    colour 0xFF;
    >> 3;
    >> 2;
    >> 3;
    var 
    rgb565 = (<< 11) ^ (<< 5) ^ b;
    return 
    rgb565;
    }
    trace(hex32BitToHex16bit(0x370640)) 
    This was the image read by getPixel in as3 and sent through the socket to the test handheld.


    this is the test handheld that recieved each pixel from as3.
    Last edited by Alloy Bacon; 01-14-2021 at 06:39 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center