Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

Netduino 2 can't run N1(+ or not) code.


  • Please log in to reply
5 replies to this topic

#1 david98xp

david98xp

    Advanced Member

  • Members
  • PipPipPip
  • 57 posts

Posted 11 December 2014 - 05:02 AM

I download Fabien Royers st7565 lcd program sample. It was designed for the mf4.1 and older netduino. I set the target type to 4.2. When I run it it says to check your hardware, via usb. How can I get it working with a netduino 2.

#2 david98xp

david98xp

    Advanced Member

  • Members
  • PipPipPip
  • 57 posts

Posted 12 December 2014 - 06:25 AM

Actually! Help please!



#3 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 13 December 2014 - 04:47 PM

Hi david,

 

Netduino 2 runs .NET MF 4.2 or newer.  Once you open the project, go to the Project Properties for each project in the solution and change your target framework version to .NET MF 4.2.

 

If the project is using pre-compiled assemblies, make sure they're compiled for .NET MF 4.2 as well.  Or pull in their source as separate projects, change their target framework version to .NET MF 4.2, make sure you're now referencing those helper projects from your main project, and recompile.  Once everything is on 4.2 you should be able to deploy.

 

If any of the older projects were using the old AnalogInput and PWM classes you'll want to import SecretLabs.NETMF.Hardware.AnalogInput.dll and/or SecretLabs.NETMF.Hardware.PWM.dll to those projects as well.

 

Chris



#4 asciiman

asciiman

    Advanced Member

  • Members
  • PipPipPip
  • 56 posts
  • LocationTurkey

Posted 13 December 2014 - 06:07 PM

hi Chris

 

I cant use ST7735 chip with Fabienroyer code.

Is this possible with Neduino2+



#5 david98xp

david98xp

    Advanced Member

  • Members
  • PipPipPip
  • 57 posts

Posted 13 December 2014 - 06:39 PM

 Now working. It now grabs errors from the netduino helpers project like:

AnalogInput is between SecretLabs.NETMF.HARDWARE and Microsoft.SPOT.Hardware.AnalogInput

This older syntax? I set it to 4.2.



#6 david98xp

david98xp

    Advanced Member

  • Members
  • PipPipPip
  • 57 posts

Posted 14 December 2014 - 01:43 AM

Hi david,

 

Netduino 2 runs .NET MF 4.2 or newer.  Once you open the project, go to the Project Properties for each project in the solution and change your target framework version to .NET MF 4.2.

 

If the project is using pre-compiled assemblies, make sure they're compiled for .NET MF 4.2 as well.  Or pull in their source as separate projects, change their target framework version to .NET MF 4.2, make sure you're now referencing those helper projects from your main project, and recompile.  Once everything is on 4.2 you should be able to deploy.

 

If any of the older projects were using the old AnalogInput and PWM classes you'll want to import SecretLabs.NETMF.Hardware.AnalogInput.dll and/or SecretLabs.NETMF.Hardware.PWM.dll to those projects as well.

 

Chris

What is this suppose to mean?

OPCODE conv.ovf.i

It's there like 5 times.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.