Coder Social home page Coder Social logo

tinyclrlib's People

Contributors

bauland avatar davidwhitney avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

wangjun008xx

tinyclrlib's Issues

FourDisplay driver

tested this drivers (everything work well until using DOTS)

problem appear if used 0x80 check this code to understand problem

///
bool point=true;

        FourDigitDisplay fdd = new FourDigitDisplay(Fez.Gpio.D3, Fez.Gpio.D4);
        fdd.SetBrightness(FourDigitDisplay.Brightness.Pw01);

        while (true)
        {
            for (int d1 = 0; d1 < 10; d1++)
                for (int d2 = 0; d2 < 10; d2++)
                    for (int d3 = 0; d3 < 10; d3++)
                        for (int d4 = 0; d4 < 10; d4++)
                        { 
                            //show point 
                            fdd.SetPoint(point);  
                           /* if point = true  than number 4 appear as 9 and . number 1 appear as 7   
                               if point = false everything was ok seem problem appear on SHIFT LEFT ..
                            */
                            
                            //show values 
                            fdd.Display(d1,d2,d3,d4);

                            point = !point;
                            Thread.Sleep(350);
                        }
        }

MotorDriverL298 XML Documentation

The initializer XML doc for the driver is wrong.

It should be:

        /// <summary>
        /// Constructor of MotorDriverL298
        /// </summary>
        /// <param name="pinDir1">pin of direction for Motor 1, pin 6 of P Socket</param>
        /// <param name="pinDir2">pin of direction for Motor 2, pin 9 of P Socket</param>
        /// <param name="pinPwm1">pin of Pwm for Motor 1, pin 8 of P Socket</param>
        /// <param name="pinPwm2">pin of Pwm for Motor 2, pin 7 of P Socket</param>
        /// <param name="idPwmController1">id of Pwm for Motor 1</param>
        /// <param name="idPwmController2">id of Pwm for Motor 2</param>

At least, going by the original .netmf 4.3 driver source.

Tested on a FezSpiderII using the following code:

            var motorDriver = new MotorDriverL298(
                FEZSpiderII.GpioPin.Socket11.Pin6,
                FEZSpiderII.GpioPin.Socket11.Pin9,
                FEZSpiderII.PwmChannel.Controller0.Socket11.Pin8,
                FEZSpiderII.PwmChannel.Controller1.Socket11.Pin7,
                FEZSpiderII.PwmChannel.Controller0.Id,
                FEZSpiderII.PwmChannel.Controller1.Id
                );

Support for nanoFramework

Hi,

Would you be interested in supporting nanoFramework with your lib? I dont mind providing ports for the drivers I require...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.