Showing posts with label ide. Show all posts
Showing posts with label ide. Show all posts
Friday, August 26, 2016
Monday, August 22, 2016
Getting started with ARM mbed IDE using STM32 Nucleo platform
Getting started with ARM mbed IDE using STM32 Nucleo platform
This video shows how to get started with ARM mbed Integrated Development Environment using STM32 Nucleo platform. It explains the steps to perform to get your nucleo platform ready to use on mbed. Then it is described through an example how used the IDE to develop an application based on the numerous projects availables form mbed community.
Find out more information: http://www.st.com/stm32nucleo
Tuesday, August 16, 2016
Change from IDE to AHCI mode in Windows 7
Change from IDE to AHCI mode in Windows 7
If you already have Windows 7 installed and choose to upgrade to a new SSD then you will definetly want to take advantage of the benefits that AHCI has to offer.
Once you change it in your BIOS from IDE to AHCI on the drive controller you have probably found that Windows 7 will blue screen and will not load. This is because any drivers that are not needed are not activated in Windows 7.
To give an example of the performance difference take a look at this photo. This was taken when my drive was set to IDE.
Now take a look once it was changed over to AHCI. MASSIVE performance difference.
To make this change yourself, enable the AHCI driver in the registry before you change the SATA mode of the boot drive. To do this, follow these steps:
- Exit all Windows-based programs.
- Click Start, type regedit in the Start Search box, and then press ENTER.
- If you receive the User Account Control dialog box, click Continue.
- Locate and then click one of the following registry subkeys:
HKEY_LOCAL_MACHINESystemCurrentControlSetServicesIastorV
- In the pane on the right side, right-click Start in the Name column, and then click Modify.
- In the Value data box, type 0, and then click OK.
- On the File menu, click Exit to close Registry Editor.
Microsoft also has a FIX-IT you can run to do the same thing if youre uneasy with making changes to the registry.
As always make sure you have good backups before you begin.
Good luck.
Monday, August 1, 2016
adk h No such file or directory and Install USBHost library to Arduino IDE
adk h No such file or directory and Install USBHost library to Arduino IDE
adk.h (Accessory Development Kit) is part of USBHost library. In current Arduino IDE 1.6.5, its not included by default.
To install USBHost:
> Sketch > Include Library > Manage Libraries
> Search to install USBHost.


Thursday, July 28, 2016
Blink NodeMCU on board LED using Arduino IDE with ESP8266 core for Arduino and more examples
Blink NodeMCU on board LED using Arduino IDE with ESP8266 core for Arduino and more examples

To program NodeMCU in Arduino IDE, we have to install esp8266 board (ESP8266 core for Arduino) to Arduino IDE.
Add Additional Board Manager URL for ESP8266 board:
> File > Preference

Add "http://arduino.esp8266.com/stable/package_esp8266com_index.json" in Additional Board Manager URLs.

Add ESP8266 board to Arduino IDE:
- Open Boards Manager in Arduino IDE
- Search "esp8266" or "NodeMCU", you will find "esp8266 by ESP8266 Community". Install it.
Test:
Once esp8266 board installed, you can find an example to blink the on-board LED.
File > Examples > ESP8266 > Blink
/*
ESP8266 Blink by Simon Peter
Blink the blue LED on the ESP-01 module
This example code is in the public domain
The blue LED on the ESP-01 module is connected to GPIO1
(which is also the TXD pin; so we cannot use Serial.print() at the same time)
Note that this sketch uses LED_BUILTIN to find the pin with the internal LED
*/
void setup() {
pinMode(LED_BUILTIN, OUTPUT); // Initialize the LED_BUILTIN pin as an output
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(LED_BUILTIN, LOW); // Turn the LED on (Note that LOW is the voltage level
// but actually the LED is on; this is because
// it is acive low on the ESP-01)
delay(1000); // Wait for a second
digitalWrite(LED_BUILTIN, HIGH); // Turn the LED off by making the voltage HIGH
delay(2000); // Wait for two seconds (to demonstrate the active low LED)
}
You can upload it to NodeMCU, to toggle the on-board LED.
notice:
- Once the ModeMCU programmed, the original firmware will be erased. To restore the original firmware with Lua shell, you have to flash the firmware again.
Next:
- Read NodeMCU MAC address using Arduino IDE with esp8266 library
- Get my IP address
- Run diagnosis
- NodeMCU to read analog input, A0
- NodeMCU act as WiFi client to update dweet.io
- Display on 128x64 I2C OLED, using Adafruit SSD1306 and GFX libraries
- esp8266-OLED, another esp8266-Arduino library for I2C-OLED displays
- NodeMCU/ESP8266 act as AP (Access Point) and simplest Web Server
- NodeMCU/ESP8266 act as AP (Access Point) and web server to control GPIO
- NodeMCU/ESP8266 implement WebSocketsServer to control RGB LED
- NodeMCU/ESP8266 WebSocketsServer, load html from separate file in flash file system
Subscribe to:
Posts (Atom)
